summaryrefslogtreecommitdiffstats
path: root/source/Mobs/Cavespider.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-11-01 22:38:20 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-11-01 22:38:20 +0100
commit4cebaa99f88e25e039416354cf490fe98642af7e (patch)
tree40f8b0cc061e3ec55539e30754df3e3d1c17dd80 /source/Mobs/Cavespider.cpp
parentAdded Bats and Witches. (diff)
downloadcuberite-4cebaa99f88e25e039416354cf490fe98642af7e.tar
cuberite-4cebaa99f88e25e039416354cf490fe98642af7e.tar.gz
cuberite-4cebaa99f88e25e039416354cf490fe98642af7e.tar.bz2
cuberite-4cebaa99f88e25e039416354cf490fe98642af7e.tar.lz
cuberite-4cebaa99f88e25e039416354cf490fe98642af7e.tar.xz
cuberite-4cebaa99f88e25e039416354cf490fe98642af7e.tar.zst
cuberite-4cebaa99f88e25e039416354cf490fe98642af7e.zip
Diffstat (limited to 'source/Mobs/Cavespider.cpp')
-rw-r--r--source/Mobs/Cavespider.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Mobs/Cavespider.cpp b/source/Mobs/Cavespider.cpp
index b2188da3d..6c7ed0a7a 100644
--- a/source/Mobs/Cavespider.cpp
+++ b/source/Mobs/Cavespider.cpp
@@ -38,7 +38,7 @@ bool cCavespider::IsA( const char* a_EntityType )
void cCavespider::Tick(float a_Dt)
{
cMonster::Tick(a_Dt);
- m_EMPersonality = (GetWorld()->GetWorldTime() < (12000 + 1000) ) ? PASSIVE : AGGRESSIVE;
+ m_EMPersonality = (GetWorld()->GetTimeOfDay() < (12000 + 1000)) ? PASSIVE : AGGRESSIVE;
}