From bb0b49f4d70f8268550068f972549ffa33e9a75b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 30 Dec 2012 20:46:43 +0300 Subject: Fix hurt sound position. --- src/being.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/being.cpp') diff --git a/src/being.cpp b/src/being.cpp index d5ac23f4a..5de2d0bab 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -617,7 +617,7 @@ void Being::takeDamage(Being *const attacker, const int amount, if (mInfo) { sound.playSfx(mInfo->getSound(SOUND_EVENT_HURT), - attacker->getTileX(), attacker->getTileY()); + getTileX(), getTileY()); if (!mInfo->isStaticMaxHP()) { -- cgit v1.2.3-60-g2f50