summaryrefslogtreecommitdiffstats
path: root/src/Entities/Pawn.cpp
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/Entities/Pawn.cpp
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 '')
-rw-r--r--src/Entities/Pawn.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Entities/Pawn.cpp b/src/Entities/Pawn.cpp
index 51ffc46b2..67b6fe4db 100644
--- a/src/Entities/Pawn.cpp
+++ b/src/Entities/Pawn.cpp
@@ -28,7 +28,7 @@ void cPawn::Tick(float a_Dt, cChunk & a_Chunk)
cEntityEffect &effect_values = iter->second;
// Apply entity effect
- HandleEntityEffects(effect_type, effect_values);
+ HandleEntityEffect(effect_type, effect_values);
// Reduce the effect's duration
effect_values.m_Ticks--;
@@ -106,7 +106,7 @@ void cPawn::ClearEntityEffects()
-void cPawn::HandleEntityEffects(cEntityEffect::eType a_EffectType, cEntityEffect a_Effect)
+void cPawn::HandleEntityEffect(cEntityEffect::eType a_EffectType, cEntityEffect a_Effect)
{
switch (a_EffectType)
{