Author: alink
Date: Sun Jul 13 00:46:38 2008
New Revision: 27959

URL: http://svn.gna.org/viewcvs/wesnoth?rev=27959&view=rev
Log:
New handy feature ":n A_Scenario_Id" and you go directly to this scenario.
Also allow go back to the first scenario of a campaign with your recall list :)
Since scenario id are often long to type, don't forget that you can save alias.

Modified:
    trunk/src/menu_events.cpp

Modified: trunk/src/menu_events.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/menu_events.cpp?rev=27959&r1=27958&r2=27959&view=diff
==============================================================================
--- trunk/src/menu_events.cpp (original)
+++ trunk/src/menu_events.cpp Sun Jul 13 00:46:38 2008
@@ -2654,6 +2654,8 @@
                game_config::disable_autosave = (get_data() != "off") ? true : 
false;
        }
        void console_handler::do_next_level() {
+               if (!get_data().empty())
+                       menu_handler_.gamestate_.next_scenario = get_data();
                throw end_level_exception(LEVEL_CONTINUE_NO_SAVE);
        }
        void console_handler::do_debug() {


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

Reply via email to