diff options
-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()) { |