summaryrefslogtreecommitdiffstats
path: root/src/Mobs
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-06-13 04:50:02 +0200
committerarchshift <admin@archshift.com>2014-06-17 20:39:21 +0200
commit5b2b6e06150b6299d1e19374be092c0858b0e3a8 (patch)
tree0d8728e4ef91f35216924ba0fd8e13e9059d15f6 /src/Mobs
parentCave spider now poisons its victim, added IsPawn function to Entity (diff)
downloadcuberite-5b2b6e06150b6299d1e19374be092c0858b0e3a8.tar
cuberite-5b2b6e06150b6299d1e19374be092c0858b0e3a8.tar.gz
cuberite-5b2b6e06150b6299d1e19374be092c0858b0e3a8.tar.bz2
cuberite-5b2b6e06150b6299d1e19374be092c0858b0e3a8.tar.lz
cuberite-5b2b6e06150b6299d1e19374be092c0858b0e3a8.tar.xz
cuberite-5b2b6e06150b6299d1e19374be092c0858b0e3a8.tar.zst
cuberite-5b2b6e06150b6299d1e19374be092c0858b0e3a8.zip
Diffstat (limited to 'src/Mobs')
-rw-r--r--src/Mobs/Monster.cpp4
-rw-r--r--src/Mobs/Monster.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/Mobs/Monster.cpp b/src/Mobs/Monster.cpp
index b8afbbc0c..4dfd81d88 100644
--- a/src/Mobs/Monster.cpp
+++ b/src/Mobs/Monster.cpp
@@ -436,7 +436,7 @@ void cMonster::HandleFalling()
-void cMonster::HandleEntityEffects(cEntityEffect::eType a_EffectType, cEntityEffect a_Effect)
+void cMonster::HandleEntityEffect(cEntityEffect::eType a_EffectType, cEntityEffect a_Effect)
{
switch (a_EffectType)
{
@@ -475,7 +475,7 @@ void cMonster::HandleEntityEffects(cEntityEffect::eType a_EffectType, cEntityEff
}
}
- super::HandleEntityEffects(a_EffectType, a_Effect);
+ super::HandleEntityEffect(a_EffectType, a_Effect);
}
diff --git a/src/Mobs/Monster.h b/src/Mobs/Monster.h
index dbf95fbed..ca6cb0593 100644
--- a/src/Mobs/Monster.h
+++ b/src/Mobs/Monster.h
@@ -225,7 +225,7 @@ protected:
/* =========================== */
- virtual void HandleEntityEffects(cEntityEffect::eType a_EffectType, cEntityEffect a_Effect) override;
+ virtual void HandleEntityEffect(cEntityEffect::eType a_EffectType, cEntityEffect a_Effect) override;
float m_IdleInterval;
float m_DestroyTimer;