changeset 1388 | 5e7920f2e2aa |
parent 1367 | e1aaa1a4901f |
child 1417 | 210cb6b1b275 |
--- a/hedgewars/GSHandlers.inc Mon Oct 20 18:56:23 2008 +0000 +++ b/hedgewars/GSHandlers.inc Mon Oct 20 21:15:28 2008 +0000 @@ -1738,11 +1738,11 @@ if Gear^.Timer > 250 then begin Gear^.Timer:= 0; - inc(Gear^.Pos) + inc(Gear^.Pos); + if Gear^.Pos = 5 then + PlaySound(sndYoohoo, false) end; -if Gear^.Pos = 5 then - PlaySound(sndYoohoo, false); if Gear^.Pos = 14 then Gear^.doStep:= @doStepSeductionWork end;