From 0504aa8cd46953c83e3beb7ead9e4e908a7140a1 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Tue, 4 Apr 2017 19:39:58 +0200 Subject: [PATCH] added using MM default action sound for unknown MM style elements --- src/game.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/game.c b/src/game.c index de844f42..5ff50a1f 100644 --- a/src/game.c +++ b/src/game.c @@ -14703,6 +14703,9 @@ void PlayLevelSound_MM(int xx, int yy, int element_mm, int action_mm) int x = xx - offset; int y = yy - offset; + if (!IS_MM_ELEMENT(element)) + element = EL_MM_DEFAULT; + PlayLevelSoundElementAction(x, y, element, action); } -- 2.34.1