瀏覽代碼

targeted fix for #45
as there was no consensus on conversion to explosions from the RFA, holding https://github.com/Azaezel/Torque3D-1/commit/7a88b2d489554729f08715d36fcf50c09e40f200 on back untill we adress that in the ECS pass with 4.1

AzaezelX 3 年之前
父節點
當前提交
4fd8436911
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Engine/source/T3D/fx/splash.cpp

+ 1 - 0
Engine/source/T3D/fx/splash.cpp

@@ -481,6 +481,7 @@ void Splash::processTick(const Move*)
       if( mCurrMS >= mEndingMS )
       if( mCurrMS >= mEndingMS )
       {
       {
          mDead = true;
          mDead = true;
+         deleteObject();
       }
       }
    }
    }
 }
 }