From 9dbb0dcfa3b830d95778c6338d89a8e70f9be71d Mon Sep 17 00:00:00 2001 From: Matthew Cline Date: Sat, 21 Nov 2009 00:50:58 -0800 Subject: 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). --- crawl-ref/source/main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/main.cc') 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; -- cgit v1.2.3-54-g00ecf