11-08-2011, 04:51 AM
I've been looking into mobs' code.
Is this function supposed to run when a player sees a mob? (it does)
It has
shouldn't it be
and also, when a mob is spawned (in cWorld.cpp) SpawnOn is called with NULL, why is it called there anyways?
Code:
cMonster::SpawnOn( cClientHandle* a_Target )
It has
Code:
Chunk->Broadcast( Spawn );
Code:
a_Target->Send( Spawn );
and also, when a mob is spawned (in cWorld.cpp) SpawnOn is called with NULL, why is it called there anyways?