commit patch #814 debug mode command: n (fast scenario skip)

thanks to Shadow Master
This commit is contained in:
Patrick Parker 2007-10-01 22:02:00 +00:00
parent ed332052ae
commit 5a1f531cc8
2 changed files with 2 additions and 1 deletions

View file

@ -47,6 +47,7 @@ Version 1.3.8+svn:
* fixed a glitch where an item halo shifted position when zooming
* map label length is correctly determined for multibyte characters
and thus the limit has been reduced to 32 characters again (bug #6855)
* now using :n in debug mode will skip past linger mode as intended
Version 1.3.8:
* campaigns:

View file

@ -2133,7 +2133,7 @@ private:
} else if(cmd == "nosaves") {
game_config::disable_autosave = (data != "off") ? true : false;
} else if(cmd == "n" && game_config::debug) {
throw end_level_exception(VICTORY);
throw end_level_exception(LEVEL_CONTINUE_NO_SAVE);
} else if(cmd == "debug" && network::nconnections() == 0) {
game_config::debug = true;
} else if(cmd == "nodebug") {