summaryrefslogtreecommitdiff
path: root/src/cmd1.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2011-02-19 19:16:00 +0100
committerBardur Arantsson <bardur@scientician.net>2011-02-19 19:44:00 +0100
commiteaee803a78f92d313d16a6f054c447754a052137 (patch)
tree69e47ebca152f0b8deac3f1d13072019122e0525 /src/cmd1.c
parent56d359f285b8c73a9fb752f6fb4cd00ecaecba6e (diff)
ALLOW_{EASY_OPEN,EASY_DISARM,REPEAT} code is no longer conditional.
Diffstat (limited to 'src/cmd1.c')
-rw-r--r--src/cmd1.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/cmd1.c b/src/cmd1.c
index 4be7814b..a4a1202a 100644
--- a/src/cmd1.c
+++ b/src/cmd1.c
@@ -3393,8 +3393,6 @@ void move_player_aux(int dir, int do_pickup, int run, bool disarm)
oktomove = FALSE;
}
-#ifdef ALLOW_EASY_DISARM /* TNB */
-
/* Disarm a visible trap */
else if (easy_disarm && disarm && (c_ptr->info & (CAVE_TRDT)))
{
@@ -3410,8 +3408,6 @@ void move_player_aux(int dir, int do_pickup, int run, bool disarm)
oktomove = FALSE;
}
-#endif /* ALLOW_EASY_DISARM -- TNB */
-
/* Player can't enter ? soo bad for him/her ... */
else if (!player_can_enter(c_ptr->feat))
{
@@ -3486,15 +3482,11 @@ void move_player_aux(int dir, int do_pickup, int run, bool disarm)
/* Closed doors */
else if ((c_ptr->feat >= FEAT_DOOR_HEAD) && (c_ptr->feat <= FEAT_DOOR_TAIL))
{
-#ifdef ALLOW_EASY_OPEN
-
if (easy_open)
{
if (easy_open_door(y, x)) return;
}
else
-#endif /* ALLOW_EASY_OPEN */
-
{
msg_print("There is a closed door blocking your way.");