diff options
author | Nipun Garg | 2019-07-03 08:24:05 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:09 +0200 |
commit | 4622fb3b8026eb4cf457a7bf99e1f733cf5553b3 (patch) | |
tree | 15f21da19da9259947ac8342dbee03618e2d23da /engines/hdb/ai-use.cpp | |
parent | 5d874c540e4f52ff5b32f8679b98ea57d7c1611c (diff) | |
download | scummvm-rg350-4622fb3b8026eb4cf457a7bf99e1f733cf5553b3.tar.gz scummvm-rg350-4622fb3b8026eb4cf457a7bf99e1f733cf5553b3.tar.bz2 scummvm-rg350-4622fb3b8026eb4cf457a7bf99e1f733cf5553b3.zip |
HDB: Unstub playSound calls
Diffstat (limited to 'engines/hdb/ai-use.cpp')
-rw-r--r-- | engines/hdb/ai-use.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/hdb/ai-use.cpp b/engines/hdb/ai-use.cpp index 188244ce1f..10a8e4dbd3 100644 --- a/engines/hdb/ai-use.cpp +++ b/engines/hdb/ai-use.cpp @@ -78,7 +78,7 @@ void callbackDoorOpenClose(int x, int y) { g_hdb->_ai->addAnimateTarget(x, y, tileIndex, tileIndex + 3, ANIM_SLOW, false, true, NULL); if (g_hdb->_map->onScreen(x, y)) - warning("STUB: Play SND_DOOR_OPEN_CLOSE"); + g_hdb->_sound->playSound(SND_DOOR_OPEN_CLOSE); return; } @@ -89,7 +89,7 @@ bool AI::useDoorOpenClose(AIEntity *e, int x, int y) { addAnimateTarget(x, y, tileIndex, tileIndex - 3, ANIM_SLOW, false, true, NULL); addCallback(CALLBACK_DOOR_OPEN_CLOSE, x, y, kDelay5Seconds); if (g_hdb->_map->onScreen(x, y)) - warning("Play SND_DOOR_OPEN_CLOSE"); + g_hdb->_sound->playSound(SND_DOOR_OPEN_CLOSE); return true; } @@ -104,7 +104,7 @@ void callbackAutoDoorOpenClose(int x, int y) { g_hdb->_ai->addAnimateTarget(x, y, tileIndex, tileIndex + 3, ANIM_SLOW, true, true, NULL); if (g_hdb->_map->onScreen(x, y)) - warning("STUB: callbackAutoDoorOpenClose: Play SND_DOOR_OPEN_CLOSE"); + g_hdb->_sound->playSound(SND_DOOR_OPEN_CLOSE); return; } @@ -117,7 +117,7 @@ bool AI::useAutoDoorOpenClose(AIEntity *e, int x, int y) { addAnimateTarget(x, y, tileIndex, tileIndex - 3, ANIM_SLOW, false, true, NULL); addCallback(CALLBACK_AUTODOOR_OPEN_CLOSE, x, y, kDelay5Seconds); if (g_hdb->_map->onScreen(x, y)) - warning("useAutoDoorOpenClose: Play SND_DOOR_OPEN_CLOSE"); + g_hdb->_sound->playSound(SND_DOOR_OPEN_CLOSE); return false; } |