diff options
author | Mateusz Kaduk <mateusz.kaduk@gmail.com> | 2008-06-04 08:57:45 +0000 |
---|---|---|
committer | Mateusz Kaduk <mateusz.kaduk@gmail.com> | 2008-06-04 08:57:45 +0000 |
commit | 2cf38d37f86c5e5d82d77713afd093735db0598a (patch) | |
tree | 7e1c365c9fc775a77ed9faf206a3505e3eeea9ce /src/gui/viewport.cpp | |
parent | 54d3f15fde8305e7e65944668bde66d7a4e127db (diff) | |
download | mana-client-2cf38d37f86c5e5d82d77713afd093735db0598a.tar.gz mana-client-2cf38d37f86c5e5d82d77713afd093735db0598a.tar.bz2 mana-client-2cf38d37f86c5e5d82d77713afd093735db0598a.tar.xz mana-client-2cf38d37f86c5e5d82d77713afd093735db0598a.zip |
Small fix for displaying all names.
Diffstat (limited to 'src/gui/viewport.cpp')
-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); } |