Author: torangan
Date: Tue Apr 10 16:22:52 2007
New Revision: 16731
URL: http://svn.gna.org/viewcvs/wesnoth?rev=16731&view=rev
Log:
patch #719: Fix improper loading of AI parameters in MP mode
Modified:
trunk/src/game.cpp
Modified: trunk/src/game.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/game.cpp?rev=16731&r1=16730&r2=16731&view=diff
==============================================================================
--- trunk/src/game.cpp (original)
+++ trunk/src/game.cpp Tue Apr 10 16:22:52 2007
@@ -601,10 +601,7 @@
(*itors.first)->values["canrecruit"] = "1";
-
- for(string_map::const_iterator i = side->values.begin(); i !=
side->values.end(); ++i) {
- (*itors.first)->values[i->first] = i->second;
- }
+ (*itors.first)->append(*side);
if(controller != side_controllers.end()) {
(*itors.first)->values["controller"] =
controller->second;
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits