Author: dave
Date: Sat Mar 22 03:36:57 2008
New Revision: 24957
URL: http://svn.gna.org/viewcvs/wesnoth?rev=24957&view=rev
Log:
added extra assertions to detect error
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=24957&r1=24956&r2=24957&view=diff
==============================================================================
--- trunk/src/server/server.cpp (original)
+++ trunk/src/server/server.cpp Sat Mar 22 03:36:57 2008
@@ -1363,7 +1363,7 @@
+
lexical_cast_default<std::string,size_t>(g->current_turn())
+ " with reason: '" +
g->termination_reason() + "'" : "")
<< ".\n";
- g->send_server_message((pl->second.name() + " ended the
game.").c_str(), pl->first);
+ g->send_server_message_to_all((pl->second.name() + "
ended the game.").c_str(), pl->first);
// Remove the player in delete_game() with all other
remaining
// ones so he gets the updated gamelist.
delete_game(itor);
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits