summaryrefslogtreecommitdiffstats
path: root/src/control/Darkel.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2019-10-13 21:44:39 +0200
committerSergeanur <s.anureev@yandex.ua>2019-10-13 21:44:39 +0200
commit26c8c56623c50eb534c9c2ab7082158b00f618f8 (patch)
tree273ab785a7a8bb0c6d5ef6585546cc736ed52f85 /src/control/Darkel.cpp
parentFixed widescreen turning off during cutscenes (diff)
downloadre3-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
Diffstat (limited to 'src/control/Darkel.cpp')
-rw-r--r--src/control/Darkel.cpp2
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);