summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2008-11-11 20:14:19 +0000
committerIra Rice <irarice@gmail.com>2008-11-11 20:14:19 +0000
commit2f01bff208bec2c2d5ffdb98b35b9398b88092a3 (patch)
tree1e2e854cf879ddf62597b0e3628feedeb8143300 /src
parent32fa850b9c8ca03f666deeb42d1c74278ffd983a (diff)
downloadmana-2f01bff208bec2c2d5ffdb98b35b9398b88092a3.tar.gz
mana-2f01bff208bec2c2d5ffdb98b35b9398b88092a3.tar.bz2
mana-2f01bff208bec2c2d5ffdb98b35b9398b88092a3.tar.xz
mana-2f01bff208bec2c2d5ffdb98b35b9398b88092a3.zip
Fixed a text glitch reported by Jarvellis.
Diffstat (limited to 'src')
-rw-r--r--src/being.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being.cpp b/src/being.cpp
index 7ad83e5e..7fb63a7c 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -501,7 +501,7 @@ void Being::drawSpeech(Graphics *graphics, int offsetX, int offsetY)
(mSpeechBubble->getNumRows()*14));
mSpeechBubble->setVisible(true);
}
- else if (!config.getValue("speechbubble", 1))
+ else if (mSpeechTime > 0 && !config.getValue("speechbubble", 1))
{
mSpeechBubble->setVisible(false);
// don't introduce a memory leak