summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-30 20:46:43 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-30 20:46:43 +0300
commitbb0b49f4d70f8268550068f972549ffa33e9a75b (patch)
treeea500d140e81fabb644360800f2a0f985f1f063b
parent1a152bbcfc63445287cc96bbbff325cce3092789 (diff)
downloadmanaplus-bb0b49f4d70f8268550068f972549ffa33e9a75b.tar.gz
manaplus-bb0b49f4d70f8268550068f972549ffa33e9a75b.tar.bz2
manaplus-bb0b49f4d70f8268550068f972549ffa33e9a75b.tar.xz
manaplus-bb0b49f4d70f8268550068f972549ffa33e9a75b.zip
Fix hurt sound position.
-rw-r--r--src/being.cpp2
1 files changed, 1 insertions, 1 deletions
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())
{