[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wesnoth-cvs-commits] wesnoth/src actions.cpp
From: |
ott |
Subject: |
[Wesnoth-cvs-commits] wesnoth/src actions.cpp |
Date: |
Mon, 19 Sep 2005 02:25:36 -0400 |
CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: ott <address@hidden> 05/09/19 06:25:36
Modified files:
src : actions.cpp
Log message:
codeclean
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/actions.cpp.diff?tr1=1.243&tr2=1.244&r1=text&r2=text
Patches:
Index: wesnoth/src/actions.cpp
diff -u wesnoth/src/actions.cpp:1.243 wesnoth/src/actions.cpp:1.244
--- wesnoth/src/actions.cpp:1.243 Sun Sep 18 23:32:23 2005
+++ wesnoth/src/actions.cpp Mon Sep 19 06:25:36 2005
@@ -1,4 +1,4 @@
-/* $Id: actions.cpp,v 1.243 2005/09/18 23:32:23 Sirp Exp $ */
+/* $Id: actions.cpp,v 1.244 2005/09/19 06:25:36 ott Exp $ */
/*
Copyright (C) 2003 by David White <address@hidden>
Part of the Battle for Wesnoth Project http://www.wesnoth.org/
@@ -1130,8 +1130,8 @@
if(has_leader) {
return teams[team_num].get_village(loc);
- }
-
+ }
+
return false;
}
@@ -1903,8 +1903,8 @@
if(move_recorder != NULL) {
move_recorder->add_movement(steps.front(),steps.back());
}
-
- bool event_mutated = false;
+
+ bool event_mutated = false;
int orig_village_owner = -1;
if(map.is_village(steps.back())) {
@@ -1917,7 +1917,7 @@
}
if(game_events::fire("moveto",steps.back())) {
- event_mutated = true;
+ event_mutated = true;
}
if(undo_stack != NULL) {
@@ -2093,7 +2093,7 @@
//temporary_unit_placer scope, the "sighted" event will
//be raised with an invalid source unit, which is even
//worse.
- game_events::pump();
+ game_events::pump();
}
}
if(disp != NULL) {
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Wesnoth-cvs-commits] wesnoth/src actions.cpp,
ott <=