summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/acr.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/acr.cc')
-rw-r--r--crawl-ref/source/acr.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc
index faf758e55a..497c462761 100644
--- a/crawl-ref/source/acr.cc
+++ b/crawl-ref/source/acr.cc
@@ -2924,7 +2924,7 @@ static void _open_door(coord_def move, bool check_confused)
{
ASSERT(!crawl_state.arena && !crawl_state.arena_suspended);
- if (you.attribute[ATTR_TRANSFORMATION] == TRAN_BAT)
+ if (!player_can_open_doors())
{
mpr("You can't open doors in your present form.");
return;