diff options
-rw-r--r-- | src/gui/viewport.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp index 0dcebd87..4036f588 100644 --- a/src/gui/viewport.cpp +++ b/src/gui/viewport.cpp @@ -240,7 +240,9 @@ Viewport::draw(gcn::Graphics *gcnGraphics) { (*i)->drawSpeech(graphics, -(int) mViewX, -(int) mViewY); if(mVisibleNames && (*i) == mSelectedBeing) - (*i)->drawName(graphics, -(int) mViewX, -(int) mViewY); + (*i)->drawName(graphics, -(int) mViewX, -(int) mViewY); + else if(!mVisibleNames) + (*i)->drawName(graphics, -(int) mViewX, -(int) mViewY); (*i)->drawEmotion(graphics, -(int) mViewX, -(int) mViewY); } |