Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Fixed unsigned time check in CDarkel
  • Loading branch information
Sergeanur committed Oct 13, 2019
1 parent 8d4cceb commit 26c8c56623c50eb534c9c2ab7082158b00f618f8
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/control/Darkel.cpp
@@ -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);

0 comments on commit 26c8c56

Please sign in to comment.