Browse Source

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

AzaezelX 4 years ago
parent
commit
e3e2de7f7b
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Engine/source/T3D/staticShape.cpp

+ 2 - 1
Engine/source/T3D/staticShape.cpp

@@ -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);
 }