summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/directn.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-27 22:19:29 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-27 22:19:29 +0000
commitdc97622b5fe6416e65054208d001775d0ec1f540 (patch)
tree346054e4f27a5836526e8a52919532b54d1cfa75 /crawl-ref/source/directn.cc
parent498e7da04ff2c3bd22d0e160892c3c46b950a34e (diff)
downloadcrawl-ref-dc97622b5fe6416e65054208d001775d0ec1f540.tar.gz
crawl-ref-dc97622b5fe6416e65054208d001775d0ec1f540.zip
* Make message condensation merge messages into history correctly.
* Fix grid descriptions only showing belatedly. * Fix tutorial starting prompt not being shown. There are likely to be more instances where flush_prev_message() needs to be called although the turn isn't over yet and it's not a prompt. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9265 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/directn.cc')
-rw-r--r--crawl-ref/source/directn.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/directn.cc b/crawl-ref/source/directn.cc
index c75aa88657..365ae58dd3 100644
--- a/crawl-ref/source/directn.cc
+++ b/crawl-ref/source/directn.cc
@@ -1528,6 +1528,7 @@ void direction(dist& moves, targeting_type restricts,
bool in_range = (range < 0
|| grid_distance(moves.target,you.pos()) <= range);
terse_describe_square(moves.target, in_range);
+ flush_prev_message();
}
#ifdef USE_TILE