03-26-2013, 05:25 PM
Each entity lives in a cWorld instance, but besides that it is also assigned to a cChunk instance, to the correct chunk. If the entity moves, naturally it may cross chunk borders, so it has to be moved to the correct chunk - removed from the old one and added to the new one.
However, there are special cases when the entity is not removed from the old chunk - such as spawning the entity, or teleporting between worlds. That's what the a_bIgnoreOldChunk does.
(Hope I remember this correctly )
However, there are special cases when the entity is not removed from the old chunk - such as spawning the entity, or teleporting between worlds. That's what the a_bIgnoreOldChunk does.
(Hope I remember this correctly )