diff options
author | Sergeanur <s.anureev@yandex.ua> | 2019-10-13 21:44:39 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2019-10-13 21:44:39 +0200 |
commit | 26c8c56623c50eb534c9c2ab7082158b00f618f8 (patch) | |
tree | 273ab785a7a8bb0c6d5ef6585546cc736ed52f85 | |
parent | Fixed widescreen turning off during cutscenes (diff) | |
download | re3-26c8c56623c50eb534c9c2ab7082158b00f618f8.tar re3-26c8c56623c50eb534c9c2ab7082158b00f618f8.tar.gz re3-26c8c56623c50eb534c9c2ab7082158b00f618f8.tar.bz2 re3-26c8c56623c50eb534c9c2ab7082158b00f618f8.tar.lz re3-26c8c56623c50eb534c9c2ab7082158b00f618f8.tar.xz re3-26c8c56623c50eb534c9c2ab7082158b00f618f8.tar.zst re3-26c8c56623c50eb534c9c2ab7082158b00f618f8.zip |
-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); |