Author: jhinrichs
Date: Thu Mar 26 23:45:21 2009
New Revision: 34163

URL: http://svn.gna.org/viewcvs/wesnoth?rev=34163&view=rev
Log:
Remove some bogus code that was commented a long time ago.

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=34163&r1=34162&r2=34163&view=diff
==============================================================================
--- trunk/src/menu_events.cpp (original)
+++ trunk/src/menu_events.cpp Thu Mar 26 23:45:21 2009
@@ -716,19 +716,6 @@
                write_game(gamestate_, start, WRITE_SNAPSHOT_ONLY);
                start["completion"] = gamestate_.completion;
 
-        /*
-        // 29.11.07, YogiHH: I can't see why this is needed at all and it
-        // breaks some savegame functionality. Probably the original reasons
-        // for putting this in are no longer valid.
-
-               // Clobber gold values to make sure the snapshot uses the values
-               // in [side] instead.
-               const config::child_list& players=start.get_children("player");
-               for(config::child_list::const_iterator pi=players.begin();
-                       pi!=players.end(); ++pi) {
-                       (**pi)["gold"] = "-1000000";
-               }
-        */
                //write out the current state of the map
                start["map_data"] = map_.write();
 


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

Reply via email to