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-03-07 18:07:55 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-07 18:07:55 +0000
commit4257d4e4ef09a35e6b31bdfb91b6146452d1bcef (patch)
treea356eaf24e39c63e2111c6ce71af0c0680d0dca7 /crawl-ref/source/directn.cc
parent0d60a36be89dc21a90fa687486a1c45030c29358 (diff)
downloadcrawl-ref-4257d4e4ef09a35e6b31bdfb91b6146452d1bcef.tar.gz
crawl-ref-4257d4e4ef09a35e6b31bdfb91b6146452d1bcef.zip
* Fix wizmode targetting commands not flushing messages correctly.
* Fix Sif Muna's randart book gifts never containing the Vehumet/Kiku special spells, as was originally intended. (Books found elsewhere will never contain the spells.) * In the highly unlikely case the player already has seen all spells don't crash when attempting to gift a book. Instead, simply make the acquirement fail, but be quiet about "the demon of the infinite void" if it was instigated by Sif Muna. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9368 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 c57ab6d823..16aaf8e3fe 100644
--- a/crawl-ref/source/directn.cc
+++ b/crawl-ref/source/directn.cc
@@ -1474,6 +1474,7 @@ void direction(dist& moves, targeting_type restricts,
break;
}
+ flush_prev_message();
if (loop_done == true)
{
// Confirm that the loop is really done. If it is,