diff options
author | Matthew Cline <zelgadis@sourceforge.net> | 2009-11-21 00:50:58 -0800 |
---|---|---|
committer | Matthew Cline <zelgadis@sourceforge.net> | 2009-11-21 00:57:49 -0800 |
commit | 9dbb0dcfa3b830d95778c6338d89a8e70f9be71d (patch) | |
tree | c6fe35575d8feb54df5c19cfe10ff997494c7621 /crawl-ref/source/main.cc | |
parent | e077609ef9f797916eaf79c4818231b2dff3c6f5 (diff) | |
download | crawl-ref-9dbb0dcfa3b830d95778c6338d89a8e70f9be71d.tar.gz crawl-ref-9dbb0dcfa3b830d95778c6338d89a8e70f9be71d.zip |
player ghosts: bugfix, debugging/diagnostics
* Fixed bug where the player's ghost was never being placed in the
dungeon, even though the file was being properly loaded.
* The wizard command &^G can now both save and load bones files, so you
don't have to quit/restart/go-to-level multiple times to get a bones
file to load.
* All possible failure points for both loading and creating bones files
now generate diagnostic messages (when diagnostics is turned on).
Diffstat (limited to 'crawl-ref/source/main.cc')
-rw-r--r-- | crawl-ref/source/main.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/main.cc b/crawl-ref/source/main.cc index ea2cab6d01..c09ccf8e65 100644 --- a/crawl-ref/source/main.cc +++ b/crawl-ref/source/main.cc @@ -487,7 +487,7 @@ static void _do_wizard_command(int wiz_command, bool silent_fail) case CONTROL('D'): wizard_edit_durations(); break; case CONTROL('F'): debug_fight_statistics(false, true); break; - case CONTROL('G'): save_ghost(true); break; + case CONTROL('G'): debug_ghosts(); break; case CONTROL('H'): wizard_set_hunger_state(); break; case CONTROL('I'): debug_item_statistics(); break; case CONTROL('L'): wizard_set_xl(); break; |