summaryrefslogtreecommitdiff
path: root/src/being/being.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r--src/being/being.cpp18
1 files changed, 11 insertions, 7 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index 206151533..9c820f0c5 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -567,10 +567,11 @@ void Being::setSpeech(const std::string &text, const std::string &channel,
{
delete mText;
mText = new Text(mSpeech,
- getPixelX(), getPixelY() - getHeight(),
- Graphics::CENTER,
- &userPalette->getColor(UserPalette::PARTICLE),
- true);
+ getPixelX(),
+ getPixelY() - getHeight(),
+ Graphics::CENTER,
+ &userPalette->getColor(UserPalette::PARTICLE),
+ Speech_true);
}
else
{
@@ -1875,9 +1876,12 @@ void Being::drawSpeech(const int offsetX, const int offsetY)
if (!mText && userPalette)
{
- mText = new Text(mSpeech, getPixelX(), getPixelY() - getHeight(),
- Graphics::CENTER, &theme->getColor(
- Theme::BUBBLE_TEXT, 255), true);
+ mText = new Text(mSpeech,
+ getPixelX(),
+ getPixelY() - getHeight(),
+ Graphics::CENTER,
+ &theme->getColor(Theme::BUBBLE_TEXT, 255),
+ Speech_true);
}
}
else if (speech == BeingSpeech::NO_SPEECH)