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


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

Header


Content

Posted by Soliton on September 08, 2007 - 11:57:
Author: soliton
Date: Sat Sep  8 11:57:10 2007
New Revision: 20198

URL: http://svn.gna.org/viewcvs/wesnoth?rev=20198&view=rev
Log:
tell the lobby about game changes on loading the next scenario

Modified:
    trunk/src/server/server.cpp

Modified: trunk/src/server/server.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/server/server.cpp?rev=20198&r1=20197&r2=20198&view=diff
==============================================================================
--- trunk/src/server/server.cpp (original)
+++ trunk/src/server/server.cpp Sat Sep  8 11:57:10 2007
@@ -1140,6 +1140,8 @@
                        g->level() = *scenario;
                        g->reset_history();
                        g->update_side_data();
+                       // Send the update of the game description to the 
lobby
+                       lobby_players_.send_data(sync_initial_response());
                } else {
                        // next_scenario sent while the scenario was not 
initialized.
                        // Something's broken here.




Related Messages


Powered by MHonArc, Updated Sat Sep 08 12:40:24 2007