summaryrefslogtreecommitdiff
path: root/src/being/being.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r--src/being/being.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index 2fd83c7b5..adc1313a0 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -82,6 +82,7 @@
#include "gui/widgets/tabs/langtab.h"
+#include "utils/delete2.h"
#include "utils/gettext.h"
#include "utils/timer.h"
@@ -597,7 +598,11 @@ void Being::takeDamage(Being *const attacker, const int amount,
mDamageTaken += amount;
if (mInfo)
{
- playSfx(mInfo->getSound(ItemSoundEvent::HURT), this, false, mX, mY);
+ playSfx(mInfo->getSound(ItemSoundEvent::HURT),
+ this,
+ false,
+ mX,
+ mY);
if (!mInfo->isStaticMaxHP())
{