浏览代码

Merge pull request #490 from Azaezel/alpha40/StaticShapeUnmountFix

connects staticshape::unmount to the parent chain so it can actually do so
Brian Roberts 4 年之前
父节点
当前提交
db4f4984ca
共有 1 个文件被更改,包括 2 次插入1 次删除
  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);
 }