mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-02 14:51:40 +00:00
MM: MM1: Add sound for bumping into walls
This commit is contained in:
parent
aef18e3a25
commit
15d94ab08a
@ -21,11 +21,19 @@
|
||||
|
||||
#include "common/textconsole.h"
|
||||
#include "mm/mm1/sound.h"
|
||||
#include "mm/mm1/mm1.h"
|
||||
|
||||
namespace MM {
|
||||
namespace MM1 {
|
||||
|
||||
void Sound::sound(SoundId soundNum) {
|
||||
if (g_engine->isEnhanced()) {
|
||||
if (soundNum == SOUND_1) {
|
||||
g_engine->_sound->playSound("gulp.voc");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
warning("TODO: sound %d", (int)soundNum);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user