diff options
author | Jared Adams <jaxad0127@gmail.com> | 2011-05-30 11:13:31 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2011-05-30 12:35:08 -0600 |
commit | 0248b2f58c783f21b7e68a20deadc0a3f942c869 (patch) | |
tree | fb9487625c282f59325f0585f08e2efd0683cd39 /src/being.cpp | |
parent | b69c0511206d68a61fd08042d1c122c9fac22202 (diff) | |
download | mana-0248b2f58c783f21b7e68a20deadc0a3f942c869.tar.gz mana-0248b2f58c783f21b7e68a20deadc0a3f942c869.tar.bz2 mana-0248b2f58c783f21b7e68a20deadc0a3f942c869.tar.xz mana-0248b2f58c783f21b7e68a20deadc0a3f942c869.zip |
Remove some uneeded offsetting
Also fix position of being names.
Reviewed-by: Bertram
Diffstat (limited to 'src/being.cpp')
-rw-r--r-- | src/being.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/being.cpp b/src/being.cpp index d4bca7ce..48e29258 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -953,11 +953,9 @@ void Being::updateCoords() // Monster names show above the sprite instead of below it if (getType() == MONSTER) - mDispName->adviseXY(getPixelX(), - getPixelY() - getHeight() - getOffsetY() - - mDispName->getHeight()); + mDispName->adviseXY(getPixelX(), getPixelY() - getHeight()); else - mDispName->adviseXY(getPixelX(), getPixelY()); + mDispName->adviseXY(getPixelX(), getPixelY() + mDispName->getHeight()); } void Being::flashName(int time) |