1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-24 02:10:01 +00:00

Fixed unsigned time check in CDarkel

This commit is contained in:
Sergeanur 2019-10-13 22:44:39 +03:00
parent 8d4cceb2e4
commit 26c8c56623

View file

@ -282,7 +282,7 @@ CDarkel::Update()
return; return;
int32 FrameTime = TimeLimit - (CTimer::GetTimeInMilliseconds() - TimeOfFrenzyStart); int32 FrameTime = TimeLimit - (CTimer::GetTimeInMilliseconds() - TimeOfFrenzyStart);
if ((TimeLimit - (CTimer::GetTimeInMilliseconds() - TimeOfFrenzyStart)) > 0 || TimeLimit < 0) { if (FrameTime > 0 || TimeLimit < 0) {
DMAudio.PlayFrontEndSound(SOUND_RAMPAGE_ONGOING, FrameTime); DMAudio.PlayFrontEndSound(SOUND_RAMPAGE_ONGOING, FrameTime);