summaryrefslogtreecommitdiffstats
path: root/src/Mobs/SnowGolem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Mobs/SnowGolem.cpp')
-rw-r--r--src/Mobs/SnowGolem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mobs/SnowGolem.cpp b/src/Mobs/SnowGolem.cpp
index 2e6d5ea09..93c29cafb 100644
--- a/src/Mobs/SnowGolem.cpp
+++ b/src/Mobs/SnowGolem.cpp
@@ -38,7 +38,7 @@ void cSnowGolem::Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk)
}
if (IsBiomeNoDownfall(m_World->GetBiomeAt(POSX_TOINT, POSZ_TOINT)))
{
- TakeDamage(*this);
+ TakeDamage(dtEnvironment, nullptr, GetRawDamageAgainst(*this), GetKnockbackAmountAgainst(*this));
}
else
{