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.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/Mobs/Cavespider.cpp b/source/Mobs/Cavespider.cpp
index b63e28f1a..e4030af57 100644
--- a/source/Mobs/Cavespider.cpp
+++ b/source/Mobs/Cavespider.cpp
@@ -16,11 +16,11 @@ cCavespider::cCavespider(void) :
-void cCavespider::Tick(float a_Dt, MTRand & a_TickRandom)
+void cCavespider::Tick(float a_Dt, cChunk & a_Chunk)
{
- super::Tick(a_Dt, a_TickRandom);
+ super::Tick(a_Dt, a_Chunk);
- // TODO: Check vanilla if cavespiders really get passive during the day
+ // TODO: Check vanilla if cavespiders really get passive during the day / in daylight
m_EMPersonality = (GetWorld()->GetTimeOfDay() < (12000 + 1000)) ? PASSIVE : AGGRESSIVE;
}