summaryrefslogtreecommitdiff
path: root/src/spells1.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2015-02-23 09:11:57 +0100
committerBardur Arantsson <bardur@scientician.net>2015-02-23 09:11:57 +0100
commitee4aec30851e64cc7a5599be6272b832ed7018c1 (patch)
tree4cdd02d0346b8f478829691cfafe7dbf5fb906e2 /src/spells1.cc
parent06365ca3274fc48b3c0b69418c1f8ee0d63a9a37 (diff)
Remove unused BACT_* values, including Arena code
Diffstat (limited to 'src/spells1.cc')
-rw-r--r--src/spells1.cc4
1 files changed, 2 insertions, 2 deletions
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;