Update of /cvsroot/gcblue/gcb_wx/src/network
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv14318/src/network
Modified Files:
tcControlMessageHandler.cpp
Log Message:
Index: tcControlMessageHandler.cpp
===================================================================
RCS file: /cvsroot/gcblue/gcb_wx/src/network/tcControlMessageHandler.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** tcControlMessageHandler.cpp 23 Mar 2006 01:11:02 -0000 1.10
--- tcControlMessageHandler.cpp 2 Dec 2006 02:23:48 -0000 1.11
***************
*** 163,167 ****
--- 163,170 ----
int alliance;
stream >> alliance;
+
+ simState->Clear();
simState->mpUserInfo->SetOwnAlliance(alliance);
+
simState->SetMultiplayerClient(); // a hack to get the sensor map to switch to the new alliance
fprintf(stdout, "Received alliance update msg from server (%d)\n",
|