summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being.cpp b/src/being.cpp
index 4c4706db..2b31e9ec 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -396,7 +396,7 @@ void Being::setSpeech(const std::string &text, int time)
if (!mSpeech.empty())
mSpeechTime = time <= SPEECH_MAX_TIME ? time : SPEECH_MAX_TIME;
- const int speech = (int) config.getValue("speech", NAME_IN_BUBBLE);
+ const int speech = (int) config.getValue("speech", TEXT_OVERHEAD);
if (speech == TEXT_OVERHEAD)
{
if (mText)
@@ -776,7 +776,7 @@ void Being::drawSpeech(int offsetX, int offsetY)
{
const int px = mPx - offsetX;
const int py = mPy - offsetY;
- const int speech = (int) config.getValue("speech", NAME_IN_BUBBLE);
+ const int speech = (int) config.getValue("speech", TEXT_OVERHEAD);
// Draw speech above this being
if (mSpeechTime == 0)