Author: alink
Date: Tue Apr 21 20:34:40 2009
New Revision: 35098

URL: http://svn.gna.org/viewcvs/wesnoth?rev=35098&view=rev
Log:
fix missing space and typo in comment in previous commit

Modified:
    trunk/src/menu_events.cpp

Modified: trunk/src/menu_events.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/menu_events.cpp?rev=35098&r1=35097&r2=35098&view=diff
==============================================================================
--- trunk/src/menu_events.cpp (original)
+++ trunk/src/menu_events.cpp Tue Apr 21 20:34:40 2009
@@ -1422,7 +1422,7 @@
                        units_.replace(loc, chosen);
 
                        if(map_.is_village(loc)) {
-                               int team = chosen.side()- 1; // translate to 
0-based team number
+                               int team = chosen.side() - 1; // translate to 
0-based team number
                                get_village(loc, *gui_, teams_, team, units_);
                        }
 
@@ -1441,7 +1441,7 @@
 
                        // village_owner returns -1 for free village, so team 0 
will get it
                        int team = village_owner(loc, teams_) + 1;
-                       // team is 0-based so side=team::nteams() is not a team
+                       // team is 0-based so team=team::nteams() is not a team
                        // but this will make get_village free it
                        if(team > team::nteams()) {
                                team = 0;


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to