mirror of
https://github.com/halpz/re3.git
synced 2024-12-24 17:55:29 +00:00
Fixed unsigned time check in CDarkel
This commit is contained in:
parent
8d4cceb2e4
commit
26c8c56623
|
@ -282,7 +282,7 @@ CDarkel::Update()
|
|||
return;
|
||||
|
||||
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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue