summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilereg.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-09-17 11:03:36 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-09-17 11:03:36 +0000
commit58fadd8bee0e04b270522f5024bb2777ea1fb66d (patch)
tree9689e000412dee45f2dbbf77c1434961a3e5aff3 /crawl-ref/source/tilereg.cc
parent43d9191f4ba2c718d5df92989a1e57fe480974d1 (diff)
downloadcrawl-ref-58fadd8bee0e04b270522f5024bb2777ea1fb66d.tar.gz
crawl-ref-58fadd8bee0e04b270522f5024bb2777ea1fb66d.zip
* Fix 2860301: armour acquirement failing when transformed.
* Fix 2829495: certain missiles and large weapons not being marked as useless. * Post-berserk exhaustion cancels Haste even wearing an amulet of RS. If you've got a lot of speed piled up it will last 2-3 more turns, but that's it. * Make tiles spell clicking use Z rather than z behaviour. (Assuming that mindless mouseclicks are more difficult to do than mindless keyboard bashing. That, and macros don't take into account mouseclicks.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10690 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/tilereg.cc')
-rw-r--r--crawl-ref/source/tilereg.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/tilereg.cc b/crawl-ref/source/tilereg.cc
index 8574d1bcfe..2cd1c855b1 100644
--- a/crawl-ref/source/tilereg.cc
+++ b/crawl-ref/source/tilereg.cc
@@ -1875,7 +1875,8 @@ int InventoryRegion::handle_spells_mouse(MouseEvent &event, int item_idx)
{
you.last_clicked_item = item_idx;
tiles.set_need_redraw();
- if (!cast_a_spell(true, spell))
+ // Use Z rather than z, seeing how there are no mouseclick macros.
+ if (!cast_a_spell(false, spell))
flush_input_buffer( FLUSH_ON_FAILURE );
}
else if (Options.tile_display == TDSP_MEMORISE)