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.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/tilereg.cc b/crawl-ref/source/tilereg.cc
index ee97fc6089..e3ed46d1ba 100644
--- a/crawl-ref/source/tilereg.cc
+++ b/crawl-ref/source/tilereg.cc
@@ -972,7 +972,7 @@ void DungeonRegion::place_cursor(cursor_type type, const coord_def &gc)
// cursor next to the player to let them know that their
// spell/wand will only go one square.
if (mouse_control::current_mode() == MOUSE_MODE_TARGET_DIR
- && type == CURSOR_MOUSE)
+ && type == CURSOR_MOUSE && gc != NO_CURSOR)
{
coord_def delta = gc - you.pos();