Skip to content

Commit

Permalink
Fixing a bug with thunder, the sound of thunder and flashes on the le…
Browse files Browse the repository at this point in the history
…vel of Hatshepsut.
  • Loading branch information
tx00100xt committed Feb 3, 2023
1 parent dcabf9c commit d054df5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions SamTFE/Sources/Entities/Lightning.es
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,7 @@ procedures:
}

// 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();
Expand Down
2 changes: 0 additions & 2 deletions SamTSE/Sources/Entities/Lightning.es
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,7 @@ procedures:
}

// 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();
Expand Down

0 comments on commit d054df5

Please sign in to comment.