summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-03-27 19:08:25 +0100
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-03-27 19:09:09 +0100
commit795cec6e276e7f5df8a25bd8306e6fd87c826502 (patch)
tree41c2958ca5471d912f3f172ae1ee01ce9cb1ea9f /src/being.cpp
parent4b70908a529317ce4e57448fe4f4a59e75416537 (diff)
downloadmana-795cec6e276e7f5df8a25bd8306e6fd87c826502.tar.gz
mana-795cec6e276e7f5df8a25bd8306e6fd87c826502.tar.bz2
mana-795cec6e276e7f5df8a25bd8306e6fd87c826502.tar.xz
mana-795cec6e276e7f5df8a25bd8306e6fd87c826502.zip
Fixed selection shadow not to overlap the emoticons
Also fixed positioning for emoticons above the player sprite. Mantis-issue: 675
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being.cpp b/src/being.cpp
index 5d840333..d4242df0 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -746,8 +746,8 @@ void Being::drawEmotion(Graphics *graphics, int offsetX, int offsetY)
if (!mEmotion)
return;
- const int px = mPx - offsetX;
- const int py = mPy - offsetY - 64;
+ const int px = mPx - offsetX - 16;
+ const int py = mPy - offsetY - 64 - 32;
const int emotionIndex = mEmotion - 1;
if (emotionIndex >= 0 && emotionIndex <= EmoteDB::getLast())