From c6cd8211eb4655520a607d7d1a854927de7a1803 Mon Sep 17 00:00:00 2001 From: Bardur Arantsson Date: Fri, 29 Jun 2012 20:33:13 +0200 Subject: Remove FORCE_V_IDX preprocessor define --- src/config.h | 5 ----- src/generate.c | 14 +------------- 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/src/config.h b/src/config.h index d8046ffb..8ee46cf7 100644 --- a/src/config.h +++ b/src/config.h @@ -220,11 +220,6 @@ -/* Wizard mode testing options: */ - -/* For testing the vaults */ -/* # define FORCE_V_IDX 20 */ - /* * Allow makefiles to override the default file mode */ diff --git a/src/generate.c b/src/generate.c index 313d9498..44e331a6 100644 --- a/src/generate.c +++ b/src/generate.c @@ -3813,10 +3813,6 @@ static void build_type7(int by0, int bx0) } -#ifdef FORCE_V_IDX - v_ptr = &v_info[FORCE_V_IDX]; -#endif - /* Message */ if (cheat_room || p_ptr->precognition) msg_print("Lesser Vault"); @@ -3873,10 +3869,6 @@ static void build_type8(int by0, int bx0) } -#ifdef FORCE_V_IDX - v_ptr = &v_info[FORCE_V_IDX]; -#endif - /* Message */ if (cheat_room || p_ptr->precognition) msg_print("Greater Vault"); @@ -6859,10 +6851,7 @@ bool_ level_generate_dungeon() /* Attempt a very unusual room */ /* test hack */ if (ironman_rooms || (rand_int(DUN_UNUSUAL) < dun_level)) { -#ifdef FORCE_V_IDX - if (room_build(y, x, 8)) continue; -#else -/* Type 8 -- Greater vault (10%) */ + /* Type 8 -- Greater vault (10%) */ if (k < 10) { if (max_vault_ok > 1) @@ -6897,7 +6886,6 @@ bool_ level_generate_dungeon() /* Type 11 -- Random vault (5%) */ if ((k < 60) && room_build(y, x, 11)) continue; -#endif } /* Type 4 -- Large room (25%) */ -- cgit v1.2.3