2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-07-06 10:25:53 +00:00

CScriptPlatform: Amend delta time value in AcceptScriptMsg for deletion

Game code makes use of 1.66666675f here, not 0.0f.
This commit is contained in:
Lioncash 2020-01-31 23:53:36 -05:00
parent cbf7140d21
commit c944d04614

View File

@ -144,7 +144,7 @@ void CScriptPlatform::AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId uid, C
CScriptColorModulate::FadeOutHelper(mgr, GetUniqueId(), x26c_fadeOutTime); CScriptColorModulate::FadeOutHelper(mgr, GetUniqueId(), x26c_fadeOutTime);
break; break;
case EScriptObjectMessage::Deleted: case EScriptObjectMessage::Deleted:
DecayRiders(x318_riders, 0.f, mgr); DecayRiders(x318_riders, 1.66666675f, mgr);
break; break;
default: default:
break; break;