summaryrefslogtreecommitdiffstats
path: root/source/Mobs/Cavespider.cpp
diff options
context:
space:
mode:
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;
}