aboutsummaryrefslogtreecommitdiff
path: root/gob/goblin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gob/goblin.cpp')
-rw-r--r--gob/goblin.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/gob/goblin.cpp b/gob/goblin.cpp
index a5d7fae268..53772bfc65 100644
--- a/gob/goblin.cpp
+++ b/gob/goblin.cpp
@@ -1562,9 +1562,7 @@ void gob_moveAdvance(Gob_Object *gobDesc, int16 nextAct, int16 framesCount) {
if (gobDesc->state >= 0 && gobDesc->state < 10 &&
gobDesc->stateMach == gobDesc->realStateMach &&
(gobDesc->curFrame == 3 || gobDesc->curFrame == 6)) {
- snd_speakerOn(10 * util_getRandom(3) + 50);
- util_delay(5);
- snd_speakerOff();
+ snd_speakerOn(10 * util_getRandom(3) + 50, 5);
}
if (gob_currentGoblin == 0