mail[Wesnoth-commits] r43154 - /trunk/src/multiplayer_connect.cpp


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

Header


Content

Posted by alinktomine on June 03, 2010 - 18:25:
Author: alink
Date: Thu Jun  3 18:25:31 2010
New Revision: 43154

URL: http://svn.gna.org/viewcvs/wesnoth?rev=43154&view=rev
Log:
Rename key "colour_lock" to "color_lock", "colour_lock" still supported.

Modified:
    trunk/src/multiplayer_connect.cpp

Modified: trunk/src/multiplayer_connect.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/multiplayer_connect.cpp?rev=43154&r1=43153&r2=43154&view=diff
==============================================================================
--- trunk/src/multiplayer_connect.cpp (original)
+++ trunk/src/multiplayer_connect.cpp Thu Jun  3 18:25:31 2010
@@ -78,7 +78,7 @@
        gold_lock_(cfg["gold_lock"].to_bool()),
        income_lock_(cfg["income_lock"].to_bool()),
        team_lock_(cfg["team_lock"].to_bool()),
-       color_lock_(cfg["colour_lock"].to_bool()),
+       
color_lock_(cfg.get_old_attribute("color_lock","colour_lock").to_bool()),
        player_number_(parent.video(), str_cast(index + 1), font::SIZE_LARGE, 
font::LOBBY_COLOR),
        combo_controller_(new gui::combo_drag(parent.disp(), 
parent.player_types_, parent.combo_control_group_)),
        orig_controller_(parent.video(), current_player_, font::SIZE_SMALL),




Related Messages


Powered by MHonArc, Updated Thu Jun 03 18:40:07 2010