diff options
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r-- | src/being/being.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp index a4ffbbf3f..482dd14eb 100644 --- a/src/being/being.cpp +++ b/src/being/being.cpp @@ -1854,7 +1854,7 @@ void Being::drawSpeech(const int offsetX, const int offsetY) if (mSpeechTime == 0) { if (mSpeechBubble && mSpeechBubble->isVisibleLocal()) - mSpeechBubble->setVisible(false); + mSpeechBubble->setVisible(Visible_false); mSpeech.clear(); } else if (mSpeechTime > 0 && (speech == BeingSpeech::NAME_IN_BUBBLE || @@ -1866,14 +1866,14 @@ void Being::drawSpeech(const int offsetX, const int offsetY) { mSpeechBubble->setPosition(px - (mSpeechBubble->getWidth() / 2), py - getHeight() - (mSpeechBubble->getHeight())); - mSpeechBubble->setVisible(true); + mSpeechBubble->setVisible(Visible_true); mSpeechBubble->requestMoveToBackground(); } } else if (mSpeechTime > 0 && speech == BeingSpeech::TEXT_OVERHEAD) { if (mSpeechBubble) - mSpeechBubble->setVisible(false); + mSpeechBubble->setVisible(Visible_false); if (!mText && userPalette) { @@ -1888,7 +1888,7 @@ void Being::drawSpeech(const int offsetX, const int offsetY) else if (speech == BeingSpeech::NO_SPEECH) { if (mSpeechBubble) - mSpeechBubble->setVisible(false); + mSpeechBubble->setVisible(Visible_false); delete2(mText) } } |