Patch #1196638 'GOB: Simple "beeper"'. Thanks eriktorbjorn.
svn-id: r17935
This commit is contained in:
parent
3cbaf48932
commit
5c426e6908
5 changed files with 78 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue