summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/directn.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/directn.cc')
-rw-r--r--crawl-ref/source/directn.cc9
1 files changed, 8 insertions, 1 deletions
diff --git a/crawl-ref/source/directn.cc b/crawl-ref/source/directn.cc
index 22e77a4540..194930de3d 100644
--- a/crawl-ref/source/directn.cc
+++ b/crawl-ref/source/directn.cc
@@ -52,7 +52,10 @@
#include "stuff.h"
#include "spells4.h"
#include "stash.h"
-#include "tiles.h"
+#ifdef USE_TILE
+ #include "tiles.h"
+ #include "tilereg.h"
+#endif
#include "terrain.h"
#include "traps.h"
#include "travel.h"
@@ -1219,6 +1222,10 @@ void direction(dist& moves, targeting_type restricts,
// We need this for directional explosions, otherwise they'll explode one
// square away from the player.
_extend_move_to_edge(moves);
+
+#ifdef USE_TILE
+ tiles.place_cursor(CURSOR_MOUSE, Region::NO_CURSOR);
+#endif
}
std::string get_terse_square_desc(const coord_def &gc)