summaryrefslogtreecommitdiff
path: root/src/q_haunted.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/q_haunted.cc')
-rw-r--r--src/q_haunted.cc14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/q_haunted.cc b/src/q_haunted.cc
index df90435c..f3725830 100644
--- a/src/q_haunted.cc
+++ b/src/q_haunted.cc
@@ -12,7 +12,6 @@
#include "monster2.hpp"
#include "monster_type.hpp"
#include "player_type.hpp"
-#include "traps.hpp"
#include "tables.hpp"
#include "util.hpp"
#include "variable.hpp"
@@ -86,19 +85,6 @@ static bool_ quest_haunted_gen_hook(void *, void *, void *)
}
}
- /* Place some random traps */
- for (i = 10 + damroll(4, 4); i > 0; )
- {
- y = rand_int(21) + 3;
- x = rand_int(31) + 3;
- auto const flags = f_info[cave[y][x].feat].flags;
- if (!(flags & FF_PERMANENT) && (flags & FF_FLOOR))
- {
- --i;
- place_trap(y, x);
- }
- }
-
process_hooks_restart = TRUE;
return TRUE;