Browse Source

Fix diff in snd_play_snd.

pull/133/head
Sergey Semushin 7 years ago committed by Anders Jenbo
parent
commit
7e39fe457f
  1. 2
      Source/sound.cpp

2
Source/sound.cpp

@ -104,7 +104,7 @@ void snd_play_snd(TSnd *pSnd, int lVolume, int lPan)
tc = GetTickCount(); tc = GetTickCount();
if (tc - pSnd->start_tc < 80) { if (tc - pSnd->start_tc < 80) {
pSnd->start_tc = GetTickCount(); GetTickCount(); // BUGFIX: unnecessary GetTickCount
return; return;
} }

Loading…
Cancel
Save