Merge pull request #142 from lioncash/decay

CScriptPlatform: Amend delta time value in AcceptScriptMsg for deletion
This commit is contained in:
Phillip Stephens 2020-02-03 14:44:21 -08:00 committed by GitHub
commit 569886de6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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