From 4cac38979dea03c2323e33c854ac1092621edec0 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Sun, 17 May 2009 11:00:04 +0000 Subject: Fix 2792807: Autoexplore attempting to open doors in bat form. Fix 2792782: vaults not initialising blood potions properly git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9790 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/acr.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/acr.cc') 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; -- cgit v1.2.3-54-g00ecf