summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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