diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-12-30 20:46:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-12-30 20:46:43 +0300 |
commit | bb0b49f4d70f8268550068f972549ffa33e9a75b (patch) | |
tree | ea500d140e81fabb644360800f2a0f985f1f063b /src/being.cpp | |
parent | 1a152bbcfc63445287cc96bbbff325cce3092789 (diff) | |
download | mv-bb0b49f4d70f8268550068f972549ffa33e9a75b.tar.gz mv-bb0b49f4d70f8268550068f972549ffa33e9a75b.tar.bz2 mv-bb0b49f4d70f8268550068f972549ffa33e9a75b.tar.xz mv-bb0b49f4d70f8268550068f972549ffa33e9a75b.zip |
Fix hurt sound position.
Diffstat (limited to 'src/being.cpp')
-rw-r--r-- | src/being.cpp | 2 |
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()) { |