Author: dave
Date: Sat Mar 22 03:13:51 2008
New Revision: 24956
URL: http://svn.gna.org/viewcvs/wesnoth?rev=24956&view=rev
Log:
added extra assertions to track causes of crash
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=24956&r1=24955&r2=24956&view=diff
==============================================================================
--- trunk/src/server/server.cpp (original)
+++ trunk/src/server/server.cpp Sat Mar 22 03:13:51 2008
@@ -1211,6 +1211,9 @@
<< g->id() << ") although it's already
initialized.\n";
return;
}
+
+
assert(games_and_users_list_.child("gamelist")->children("game").empty() ==
false);
+
simple_wml::node& desc = *g->description();
// Update the game's description.
// If there is no shroud, then tell players in the lobby
@@ -1254,6 +1257,8 @@
//g->take_side(sock);
g->update_side_data();
g->describe_slots();
+
+
assert(games_and_users_list_.child("gamelist")->children("game").empty() ==
false);
// Send the update of the game description to the lobby.
simple_wml::document diff;
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits