From: Holger Schemel Date: Tue, 4 Apr 2017 17:39:58 +0000 (+0200) Subject: added using MM default action sound for unknown MM style elements X-Git-Tag: 4.1.0.0~141 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=0504aa8cd46953c83e3beb7ead9e4e908a7140a1;p=rocksndiamonds.git added using MM default action sound for unknown MM style elements --- 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); }