From 4257d4e4ef09a35e6b31bdfb91b6146452d1bcef Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Sat, 7 Mar 2009 18:07:55 +0000 Subject: * 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 --- crawl-ref/source/directn.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'crawl-ref/source/directn.cc') 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, -- cgit v1.2.3-54-g00ecf