mail[Wesnoth-commits] r33210 - /trunk/src/server/game.cpp


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

Header


Content

Posted by soliton . de on March 01, 2009 - 11:16:
Author: soliton
Date: Sun Mar  1 11:16:07 2009
New Revision: 33210

URL: http://svn.gna.org/viewcvs/wesnoth?rev=33210&view=rev
Log:
fixed bug #13038: switch controller to human when side owners change

Modified:
    trunk/src/server/game.cpp

Modified: trunk/src/server/game.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/server/game.cpp?rev=33210&r1=33209&r2=33210&view=diff
==============================================================================
--- trunk/src/server/game.cpp (original)
+++ trunk/src/server/game.cpp Sun Mar  1 11:16:07 2009
@@ -450,6 +450,7 @@
        if (controller.empty()) {
                send_and_record_server_message((player_name
                                + " takes control of side " + side + 
".").c_str());
+               side_controllers_[side_num] = "human";
        } else {
                send_and_record_server_message((player_name + (controller == 
"human_ai" ? "" : "un")
                                + "droids side " + side + ".").c_str());




Related Messages


Powered by MHonArc, Updated Sun Mar 01 11:40:06 2009