Mount Process Order Fix 2

Added a check to SceneObject::setProcessTick() to prevent objects that have mounts from being removed from the process list so the processAfter chain of the mounted objects is not broken.
This commit is contained in:
OTHGMars 2014-06-09 14:59:36 -04:00 committed by Azaezel
parent 8250e4728d
commit 172e62a8f1

View file

@ -945,7 +945,8 @@ void SceneObject::setProcessTick( bool t )
if ( mProcessTick )
{
plUnlink();
if ( !getMountedObjectCount() )
plUnlink(); // Only unlink if there is nothing mounted to us
mProcessTick = false;
}
else