connects staticshape::unmount to the parent chain so it can actually do so

This commit is contained in:
AzaezelX 2021-06-07 15:03:23 -05:00
parent 6fe51cd9c3
commit e3e2de7f7b

View file

@ -260,8 +260,9 @@ void StaticShape::setTransform(const MatrixF& mat)
setMaskBits(PositionMask);
}
void StaticShape::onUnmount(SceneObject*,S32)
void StaticShape::onUnmount(SceneObject* obj, S32 node)
{
Parent::onUnmount(obj, node);
// Make sure the client get's the final server pos.
setMaskBits(PositionMask);
}