diff options
author | Bardur Arantsson <bardur@scientician.net> | 2011-02-22 00:29:52 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2012-03-29 19:53:56 +0200 |
commit | c06c5c1d05164048707ef8235e971597beaffbdf (patch) | |
tree | ecd90d906d81c6d9734e44bcb296acd3f1689d80 | |
parent | 87a9bd8e9bf30685a16c54dd5c4fe50cfc7890cc (diff) |
Remove SAVE_HACK compile-time flag.
-rw-r--r-- | src/dungeon.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/dungeon.c b/src/dungeon.c index 2c394102..6a016e55 100644 --- a/src/dungeon.c +++ b/src/dungeon.c @@ -20,17 +20,6 @@ extern lua_State* L; #define AUTO_CURSE_CHANCE 15 #define CHAINSWORD_NOISE 100 -/* - * I created this when a bug misplaced my character and the game wasn't able - * to load it again.. very frustrating. - * So this hack will generate a new level without calling dungeon(), and - * then the normal behavior will apply. - */ -/* #define SAVE_HACK */ -#ifdef SAVE_HACK -bool_ save_hack = TRUE; -#endif - /* * Return a "feeling" (or NULL) about an item. Method 1 (Heavy). @@ -5488,29 +5477,9 @@ void play_game(bool_ new_game) /* Update monster list window */ p_ptr->window |= (PW_M_LIST); -#ifdef SAVE_HACK - - /* Process the level */ - if (!save_hack) - { - dungeon(); - } - else - { - generate_cave(); - } - - save_hack = FALSE; - - p_ptr->leaving = TRUE; - -#else - /* Process the level */ dungeon(); -#endif - /* Save the current level if in a persistent level */ tmp_dun = dun_level; dun_level = old_dun_level; |