CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Philippe Plantier <[EMAIL PROTECTED]> 05/02/20 23:12:53
Modified files:
src : multiplayer_connect.cpp
Log message:
Fixed problems setting teams on multiplayer game setup.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/multiplayer_connect.cpp.diff?tr1=1.104&tr2=1.105&r1=text&r2=text
Patches:
Index: wesnoth/src/multiplayer_connect.cpp
diff -u wesnoth/src/multiplayer_connect.cpp:1.104
wesnoth/src/multiplayer_connect.cpp:1.105
--- wesnoth/src/multiplayer_connect.cpp:1.104 Sun Feb 20 22:30:27 2005
+++ wesnoth/src/multiplayer_connect.cpp Sun Feb 20 23:12:52 2005
@@ -1,4 +1,4 @@
-/* $Id: multiplayer_connect.cpp,v 1.104 2005/02/20 22:30:27 gruikya Exp $ */
+/* $Id: multiplayer_connect.cpp,v 1.105 2005/02/20 23:12:52 gruikya Exp $ */
/*
Copyright (C)
Part of the Battle for Wesnoth Project http://www.wesnoth.org
@@ -276,6 +276,7 @@
res["type"] = leader_;
}
res["team"] = lexical_cast<std::string>(team_);
+ res["team_name"] = lexical_cast<std::string>(team_ + 1);
res["colour"] = lexical_cast<std::string>(colour_);
res["gold"] = lexical_cast<std::string>(gold_);