CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     David White <[EMAIL PROTECTED]> 04/09/08 01:36:49

Modified files:
        src            : game.cpp 

Log message:
        fixed bug where 'The End' displayed when a scenario isn't found (CVS 
internal)

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/game.cpp.diff?tr1=1.123&tr2=1.124&r1=text&r2=text

Patches:
Index: wesnoth/src/game.cpp
diff -u wesnoth/src/game.cpp:1.123 wesnoth/src/game.cpp:1.124
--- wesnoth/src/game.cpp:1.123  Thu Sep  2 15:17:32 2004
+++ wesnoth/src/game.cpp        Wed Sep  8 01:36:48 2004
@@ -1,4 +1,4 @@
-/* $Id: game.cpp,v 1.123 2004/09/02 15:17:32 ydirson Exp $ */
+/* $Id: game.cpp,v 1.124 2004/09/08 01:36:48 Sirp Exp $ */
 /*
    Copyright (C) 2003 by David White <[EMAIL PROTECTED]>
    Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -218,6 +218,7 @@
        if(state.scenario != "" && state.scenario != "null") {
                gui::show_dialog(disp,NULL,"",
                                 "Error - Unknown scenario: '" + state.scenario 
+ "'");
+               return QUIT;
        }
 
        return VICTORY;


Reply via email to