summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilereg.cc
diff options
context:
space:
mode:
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)