diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2019-10-13 23:44:48 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2019-10-13 23:44:48 +0200 |
commit | f93285df7960b75f616d9bbdb364e113714151ee (patch) | |
tree | afa425c6f56716ff4d610e2ed9497996c1fe9d06 /src/control/Darkel.cpp | |
parent | copypaste error (diff) | |
parent | Merge pull request #243 from erorcun/erorcun (diff) | |
download | re3-f93285df7960b75f616d9bbdb364e113714151ee.tar re3-f93285df7960b75f616d9bbdb364e113714151ee.tar.gz re3-f93285df7960b75f616d9bbdb364e113714151ee.tar.bz2 re3-f93285df7960b75f616d9bbdb364e113714151ee.tar.lz re3-f93285df7960b75f616d9bbdb364e113714151ee.tar.xz re3-f93285df7960b75f616d9bbdb364e113714151ee.tar.zst re3-f93285df7960b75f616d9bbdb364e113714151ee.zip |
Diffstat (limited to 'src/control/Darkel.cpp')
-rw-r--r-- | src/control/Darkel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/Darkel.cpp b/src/control/Darkel.cpp index 915e280a..50ff39a2 100644 --- a/src/control/Darkel.cpp +++ b/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); |