diff options
Diffstat (limited to 'src/engine.cpp')
-rw-r--r-- | src/engine.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/engine.cpp b/src/engine.cpp index 047fa332..563247df 100644 --- a/src/engine.cpp +++ b/src/engine.cpp @@ -386,13 +386,17 @@ void Engine::draw() if (being->emotion != 0) { emotionset->spriteset[being->emotion - 1]->draw(screen, - sx * 32 - 5 + get_x_offset(being) - offset_x, - sy * 32 - 45 + get_y_offset(being) - offset_y); + sx * 32 + 5 + get_x_offset(being) - offset_x, + sy * 32 - 65 + get_y_offset(being) - offset_y); being->emotion_time--; if (being->emotion_time == 0) { being->emotion = 0; } } + + graphics->drawText(being->name, + being->text_x + 15, being->text_y + 30, + gcn::Graphics::CENTER); } else if (being->job == 45) { // Draw a warp } else { // Draw a monster |