From ee4aec30851e64cc7a5599be6272b832ed7018c1 Mon Sep 17 00:00:00 2001 From: Bardur Arantsson Date: Mon, 23 Feb 2015 09:11:57 +0100 Subject: Remove unused BACT_* values, including Arena code --- src/spells1.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/spells1.cc') diff --git a/src/spells1.cc b/src/spells1.cc index c7b02580..c38da910 100644 --- a/src/spells1.cc +++ b/src/spells1.cc @@ -257,7 +257,7 @@ void teleport_away(int m_idx, int dis) (cave[ny][nx].feat <= FEAT_PATTERN_XTRA2)) continue; /* No teleporting into vaults and such */ - if (!(p_ptr->inside_quest || p_ptr->inside_arena)) + if (!(p_ptr->inside_quest)) if (cave[ny][nx].info & (CAVE_ICKY)) continue; /* This grid looks good */ @@ -824,7 +824,7 @@ void teleport_player_to(int ny, int nx) void teleport_player_level(void) { /* No effect in arena or quest */ - if (p_ptr->inside_arena || p_ptr->inside_quest) + if (p_ptr->inside_quest) { msg_print("There is no effect."); return; -- cgit v1.2.3