From 795cec6e276e7f5df8a25bd8306e6fd87c826502 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Fri, 27 Mar 2009 19:08:25 +0100 Subject: Fixed selection shadow not to overlap the emoticons Also fixed positioning for emoticons above the player sprite. Mantis-issue: 675 --- src/being.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/being.cpp') 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()) -- cgit v1.2.3-60-g2f50