2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 22:27:43 +00:00

Initial CScriptSpecialFunction::ThinkSpinnerController

This commit is contained in:
2019-06-10 20:09:38 -07:00
parent b7b65b04a4
commit 2f2ab149d4
4 changed files with 108 additions and 10 deletions

View File

@@ -40,7 +40,7 @@ CScriptPlatform::CScriptPlatform(
x350_rainGenRate = rainGenRate;
x356_24_dead = false;
;
x356_25_notAnimating = false;
x356_25_controlledAnimation = false;
x356_26_detectCollision = detectCollision;
x356_27_squishedRider = false;
x356_28_rainSplashes = rainSplashes;
@@ -252,7 +252,7 @@ void CScriptPlatform::Think(float dt, CStateManager& mgr) {
return;
if (HasModelData() && GetModelData()->HasAnimData()) {
if (!x356_25_notAnimating)
if (!x356_25_controlledAnimation)
UpdateAnimation(dt, mgr, true);
if (x356_28_rainSplashes && mgr.GetWorld()->GetNeededEnvFx() == EEnvFxType::Rain) {
if (HasModelData() && !GetModelData()->IsNull() && mgr.GetEnvFxManager()->IsSplashActive() &&