added using MM default action sound for unknown MM style elements
[rocksndiamonds.git] / src / game.c
index de844f4298ca0351fcaceab4ce88082c9c8402c7..5ff50a1f8e0cfbf5137e19ce8829957a58286c5d 100644 (file)
@@ -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);
 }