diff options
Diffstat (limited to '')
-rw-r--r-- | source/Mobs/Zombie.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/Mobs/Zombie.cpp b/source/Mobs/Zombie.cpp index 8038c51f6..cf0391b4c 100644 --- a/source/Mobs/Zombie.cpp +++ b/source/Mobs/Zombie.cpp @@ -16,12 +16,12 @@ cZombie::cZombie(void) : -void cZombie::Tick(float a_Dt, MTRand & a_TickRandom) +void cZombie::Tick(float a_Dt, cChunk & a_Chunk) { - super::Tick(a_Dt, a_TickRandom); + super::Tick(a_Dt, a_Chunk); // TODO Same as in cSkeleton :D - if ((GetWorld()->GetTimeOfDay() < (12000 + 1000)) && (GetMetaData() != BURNING)) + if ((GetWorld()->GetTimeOfDay() < (12000 + 1000)) && !IsBurning()) { SetMetaData(BURNING); // BURN, BABY, BURN! >:D } |