diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-05-18 13:26:18 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-05-18 13:26:18 +0000 |
commit | 5deb29bf245d7ff57751f4ea2a2159439a516e42 (patch) | |
tree | 6248a847f280784ce9c95b0a4b3a96f08132dcc3 /crawl-ref/source/it_use3.cc | |
parent | 4cac38979dea03c2323e33c854ac1092621edec0 (diff) | |
download | crawl-ref-5deb29bf245d7ff57751f4ea2a2159439a516e42.tar.gz crawl-ref-5deb29bf245d7ff57751f4ea2a2159439a516e42.zip |
* Fix Bat Form restrictions not applying to choice by clicking (Tiles).
* Allow </> as synonyms for left/right hand in swap_rings().
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9791 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/it_use3.cc')
-rw-r--r-- | crawl-ref/source/it_use3.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/it_use3.cc b/crawl-ref/source/it_use3.cc index d68dee4a05..cde6d53c8f 100644 --- a/crawl-ref/source/it_use3.cc +++ b/crawl-ref/source/it_use3.cc @@ -480,6 +480,12 @@ bool evoke_item(int slot) return (false); } + if (player_in_bat_form()) + { + canned_msg(MSG_PRESENT_FORM); + return (false); + } + if (slot == -1) { slot = prompt_invent_item( "Evoke which item? (* to show all)", |