summaryrefslogtreecommitdiff
path: root/src/engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine.cpp')
-rw-r--r--src/engine.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/engine.cpp b/src/engine.cpp
index dc767eb6..881a570a 100644
--- a/src/engine.cpp
+++ b/src/engine.cpp
@@ -250,11 +250,13 @@ void Engine::draw(Graphics *graphics)
}
}
- // Draw player speech
+ // Draw player nickname, speech, and emotion sprite as needed
Beings *beings = beingManager->getAll();
for (Beings::iterator i = beings->begin(); i != beings->end(); i++)
{
(*i)->drawSpeech(graphics, -map_x, -map_y);
+(*i)->drawName(graphics, -map_x, -map_y);
+(*i)->drawEmotion(graphics, -map_x, -map_y);
}
// Draw target marker if needed