Author: ivanovic
Date: Sun May 17 18:27:06 2009
New Revision: 35711

URL: http://svn.gna.org/viewcvs/wesnoth?rev=35711&view=rev
Log:
revert some debug code that seems to have gotten into rev35692 by accident (the 
debug code broke the campaign selection dialog)

Modified:
    trunk/src/game.cpp

Modified: trunk/src/game.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/game.cpp?rev=35711&r1=35710&r2=35711&view=diff
==============================================================================
--- trunk/src/game.cpp (original)
+++ trunk/src/game.cpp Sun May 17 18:27:06 2009
@@ -35,7 +35,6 @@
 #include "gui/dialogs/addon_connect.hpp"
 #include "gui/dialogs/campaign_selection.hpp"
 #include "gui/dialogs/language_selection.hpp"
-#include "gui/dialogs/message.hpp"
 #include "gui/dialogs/mp_method_selection.hpp"
 #include "gui/dialogs/title_screen.hpp"
 #ifdef DEBUG_WINDOW_LAYOUT_GRAPHS
@@ -2061,9 +2060,6 @@
                } else if(res == gui::TUTORIAL) {
                        game.set_tutorial();
                } else if(res == gui::NEW_CAMPAIGN) {
-                       gui2::show_message(game.disp().video(),
-                                       "Title", "Message", 
gui2::tmessage::yes_no_buttons);
-                       continue;
                        if(game.new_campaign() == false) {
                                continue;
                        }


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to