summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/being.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/being.cpp b/src/being.cpp
index d6c5fd55..d4bca7ce 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -954,7 +954,8 @@ void Being::updateCoords()
// Monster names show above the sprite instead of below it
if (getType() == MONSTER)
mDispName->adviseXY(getPixelX(),
- getPixelY() - getHeight() - mDispName->getHeight());
+ getPixelY() - getHeight() - getOffsetY()
+ - mDispName->getHeight());
else
mDispName->adviseXY(getPixelX(), getPixelY());
}