From cbafbc638c2e1d5bb40ee6bc419007062e9615e4 Mon Sep 17 00:00:00 2001 From: Bardur Arantsson Date: Wed, 5 Oct 2016 18:45:09 +0200 Subject: Remove traps Credit goes mostly to "miramor" who did most of the actual work. I just did a few minor tweaks and fixes + rebased onto master. --- src/powers.cc | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/powers.cc') diff --git a/src/powers.cc b/src/powers.cc index b92d7731..5d26b7dd 100644 --- a/src/powers.cc +++ b/src/powers.cc @@ -34,7 +34,6 @@ #include "spells2.hpp" #include "stats.hpp" #include "tables.hpp" -#include "traps.hpp" #include "util.hpp" #include "util.h" #include "variable.h" @@ -201,11 +200,6 @@ static void power_activate(int power) } } break; - case PWR_LAY_TRAP: - { - do_cmd_set_trap(); - } - break; case PWR_MAGIC_MAP: { msg_print("You sense the world around you."); @@ -334,7 +328,6 @@ static void power_activate(int power) case PWR_DETECT_TD: { msg_print("You examine your surroundings."); - (void)detect_traps(DEFAULT_RADIUS); (void)detect_doors(DEFAULT_RADIUS); (void)detect_stairs(DEFAULT_RADIUS); } -- cgit v1.2.3