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
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); 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;