diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-27 16:15:37 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-27 16:15:37 +0000 |
commit | d03ad7b05a931a1bd0bc69eb809d30fca8177cb6 (patch) | |
tree | 8d5d564a84a8d8cc9beb29dcd2f6220a318f268b /crawl-ref/source/acr.cc | |
parent | d360a8a9373ac6d5760d1869617685d553c7b9fb (diff) | |
download | crawl-ref-d03ad7b05a931a1bd0bc69eb809d30fca8177cb6.tar.gz crawl-ref-d03ad7b05a931a1bd0bc69eb809d30fca8177cb6.zip |
Add a new command for firing without quivering on 'F'.
Use puff of fire/ice tiles for ammo of flame/ice being fired.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6169 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/acr.cc')
-rw-r--r-- | crawl-ref/source/acr.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc index 33903be17a..e90e785694 100644 --- a/crawl-ref/source/acr.cc +++ b/crawl-ref/source/acr.cc @@ -2086,6 +2086,10 @@ void process_command( command_type cmd ) choose_item_for_quiver(); break; + case CMD_THROW_ITEM_NO_QUIVER: + throw_item_no_quiver(); + break; + case CMD_WEAR_ARMOUR: wear_armour(); break; @@ -3460,7 +3464,7 @@ static command_type _keycode_to_command( keycode_type key ) case 'C': return CMD_CLOSE_DOOR; case 'D': return CMD_NO_CMD; case 'E': return CMD_EXPERIENCE_CHECK; - case 'F': return CMD_NO_CMD; + case 'F': return CMD_THROW_ITEM_NO_QUIVER; case 'G': return CMD_INTERLEVEL_TRAVEL; case 'I': return CMD_DISPLAY_SPELLS; case 'M': return CMD_MEMORISE_SPELL; |