summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-16 02:01:28 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-16 02:01:28 +0300
commitb49d05166ac67ed0ef189b1e3859573108843db1 (patch)
treed8f4eaa6735938ab7db9aa11b0857485f865ad94 /src/being
parent910e16e9c485a0ffa02d5cc39d0df0a467cf8cf7 (diff)
downloadmanaplus-b49d05166ac67ed0ef189b1e3859573108843db1.tar.gz
manaplus-b49d05166ac67ed0ef189b1e3859573108843db1.tar.bz2
manaplus-b49d05166ac67ed0ef189b1e3859573108843db1.tar.xz
manaplus-b49d05166ac67ed0ef189b1e3859573108843db1.zip
Remove default parameters from text.
Diffstat (limited to 'src/being')
-rw-r--r--src/being/being.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index daf8cd542..61826f494 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -648,7 +648,8 @@ void Being::setSpeech(const std::string &restrict text,
mPixelY - getHeight(),
Graphics::CENTER,
&userPalette->getColor(UserColorId::PARTICLE),
- Speech_true);
+ Speech_true,
+ nullptr);
mText->adviseXY(mPixelX,
(mY + 1) * mapTileSize - getHeight() - mText->getHeight() - 9,
mMoveNames);
@@ -2413,7 +2414,8 @@ void Being::drawSpeech(const int offsetX,
mPixelY - getHeight(),
Graphics::CENTER,
&theme->getColor(ThemeColorId::BUBBLE_TEXT, 255),
- Speech_true);
+ Speech_true,
+ nullptr);
mText->adviseXY(mPixelX,
(mY + 1) * mapTileSize - getHeight() - mText->getHeight() - 9,
mMoveNames);