summarylogtreecommitdiffstats
path: root/0001-Fix-thunder-bug.patch
blob: 1d2caff0ca42b1ac02ecc85d43d5eb160c85ba62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/Sources/Entities/Lightning.es	2023-06-15 10:17:31.538328000 +0300
+++ b/Sources/Entities/Lightning.es	2023-06-15 10:23:46.197060134 +0300
@@ -118,9 +118,7 @@
     }
 
     // wait for sound to progress to lightning strike
-    if (_atiThunderSounds[ m_iSoundPlaying].ti_fThunderStrikeDelay>0.0f) {
     autowait( _atiThunderSounds[ m_iSoundPlaying].ti_fThunderStrikeDelay);
-    }
 
     // remember current time as lightning start time
     TIME tmNow = _pTimer->CurrentTick();