summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-01-16 22:17:36 +0300
committerAndrei Karas <akaras@inbox.ru>2014-01-16 22:17:36 +0300
commit586ba5e0ba0f8e4592ac01ec1456c6720995c2be (patch)
tree7e52c84d482b1900c61d6a5c59f63a4a2b8391ca /src/being
parentc39bbbafc43db2dfa17e970dfbd5e12ee1d7ceb7 (diff)
downloadmanaplus-586ba5e0ba0f8e4592ac01ec1456c6720995c2be.tar.gz
manaplus-586ba5e0ba0f8e4592ac01ec1456c6720995c2be.tar.bz2
manaplus-586ba5e0ba0f8e4592ac01ec1456c6720995c2be.tar.xz
manaplus-586ba5e0ba0f8e4592ac01ec1456c6720995c2be.zip
add workaround for fix issue with chat messages if used external guichan.
Diffstat (limited to 'src/being')
-rw-r--r--src/being/being.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index 641f8abd6..aa2b875af 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -1814,7 +1814,9 @@ void Being::drawSpeech(const int offsetX, const int offsetY)
mSpeechBubble->setPosition(px - (mSpeechBubble->getWidth() / 2),
py - getHeight() - (mSpeechBubble->getHeight()));
mSpeechBubble->setVisible(true);
+#ifdef USE_INTERNALGUICHAN
mSpeechBubble->requestMoveToBackground();
+#endif
}
else if (mSpeechTime > 0 && speech == TEXT_OVERHEAD)
{