CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: David White <[EMAIL PROTECTED]> 05/06/18 22:13:09
Modified files:
src : playlevel.cpp
Log message:
fixed bug where observers see 'the end' screen after seeing a mp game
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/playlevel.cpp.diff?tr1=1.208&tr2=1.209&r1=text&r2=text
Patches:
Index: wesnoth/src/playlevel.cpp
diff -u wesnoth/src/playlevel.cpp:1.208 wesnoth/src/playlevel.cpp:1.209
--- wesnoth/src/playlevel.cpp:1.208 Sat Jun 4 19:16:05 2005
+++ wesnoth/src/playlevel.cpp Sat Jun 18 22:13:09 2005
@@ -1,4 +1,4 @@
-/* $Id: playlevel.cpp,v 1.208 2005/06/04 19:16:05 ott Exp $ */
+/* $Id: playlevel.cpp,v 1.209 2005/06/18 22:13:09 Sirp Exp $ */
/*
Copyright (C) 2003 by David White <[EMAIL PROTECTED]>
Part of the Battle for Wesnoth Project http://www.wesnoth.org/
@@ -751,9 +751,11 @@
info["type"] = "termination";
info["condition"] = "game over";
network::send_data(cfg);
- } else
+ } else {
gui::show_dialog(gui, NULL, _("Game Over"),
- _("The game is over."),
gui::OK_ONLY);
+ _("The game is over."),
gui::OK_ONLY);
+ return QUIT;
+ }
}
if(end_level.result == QUIT) {