mail[Wesnoth-commits] r33835 - /trunk/src/multiplayer_create.cpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by shadowm2006 on March 18, 2009 - 17:02:
Author: shadowmaster
Date: Wed Mar 18 17:02:24 2009
New Revision: 33835

URL: http://svn.gna.org/viewcvs/wesnoth?rev=33835&view=rev
Log:
Fix a small logic reversal in last commit...

Modified:
    trunk/src/multiplayer_create.cpp

Modified: trunk/src/multiplayer_create.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/multiplayer_create.cpp?rev=33835&r1=33834&r2=33835&view=diff
==============================================================================
--- trunk/src/multiplayer_create.cpp (original)
+++ trunk/src/multiplayer_create.cpp Wed Mar 18 17:02:24 2009
@@ -519,7 +519,7 @@
                int nsides = 
parameters_.scenario_data.get_children("side").size();
                const config::child_list& player_sides = 
parameters_.scenario_data.get_children("side");
                for(config::child_list::const_iterator k = 
player_sides.begin(); k != player_sides.end(); ++k) {
-                       if(utils::string_bool((**k)["allow_player"],true)) {
+                       if(!utils::string_bool((**k)["allow_player"],true)) {
                                nsides--;
                        }
                }




Related Messages


Powered by MHonArc, Updated Wed Mar 18 17:20:29 2009