summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-04-02 17:05:22 +0300
committerAndrei Karas <akaras@inbox.ru>2014-04-02 17:05:22 +0300
commit3279c64d25124dbe759f7ba4fffe5554c3dd9e1e (patch)
treecaa87efca43cf2d959565f472ba039c2f2c48bb0 /src/being
parentef0f7af63a5e1bd73fb34c601f996e7aadf848c0 (diff)
downloadplus-3279c64d25124dbe759f7ba4fffe5554c3dd9e1e.tar.gz
plus-3279c64d25124dbe759f7ba4fffe5554c3dd9e1e.tar.bz2
plus-3279c64d25124dbe759f7ba4fffe5554c3dd9e1e.tar.xz
plus-3279c64d25124dbe759f7ba4fffe5554c3dd9e1e.zip
Improve isVisible usage.
Diffstat (limited to 'src/being')
-rw-r--r--src/being/being.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index be4d8b903..9f99a2ab8 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -1668,7 +1668,7 @@ void Being::drawSpeech(const int offsetX, const int offsetY)
// Draw speech above this being
if (mSpeechTime == 0)
{
- if (mSpeechBubble->isVisible())
+ if (mSpeechBubble->isVisibleLocal())
mSpeechBubble->setVisible(false);
}
else if (mSpeechTime > 0 && (speech == NAME_IN_BUBBLE ||