CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Jon Daniel <[EMAIL PROTECTED]> 05/01/27 17:19:17
Modified files:
src : playturn.cpp
Log message:
Fixed bug #11231 which causes colour and shroud not to update if a
player
was replaced by an onbserver.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/playturn.cpp.diff?tr1=1.323&tr2=1.324&r1=text&r2=text
Patches:
Index: wesnoth/src/playturn.cpp
diff -u wesnoth/src/playturn.cpp:1.323 wesnoth/src/playturn.cpp:1.324
--- wesnoth/src/playturn.cpp:1.323 Thu Jan 27 16:17:13 2005
+++ wesnoth/src/playturn.cpp Thu Jan 27 17:19:16 2005
@@ -1,4 +1,4 @@
-/* $Id: playturn.cpp,v 1.323 2005/01/27 16:17:13 j_daniel Exp $ */
+/* $Id: playturn.cpp,v 1.324 2005/01/27 17:19:16 j_daniel Exp $ */
/*
Copyright (C) 2003 by David White <[EMAIL PROTECTED]>
Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -2609,6 +2609,7 @@
if(index < teams_.size()) {
if(controller == "human") {
teams_[index].make_human();
+ gui_.set_team(index);
} else if(controller == "network") {
teams_[index].make_network();
} else if(controller == "ai") {