projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86b4408
)
added using MM default action sound for unknown MM style elements
author
Holger Schemel
<info@artsoft.org>
Tue, 4 Apr 2017 17:39:58 +0000
(19:39 +0200)
committer
Holger Schemel
<info@artsoft.org>
Fri, 23 Mar 2018 22:21:12 +0000
(23:21 +0100)
src/game.c
patch
|
blob
|
history
diff --git
a/src/game.c
b/src/game.c
index de844f4298ca0351fcaceab4ce88082c9c8402c7..5ff50a1f8e0cfbf5137e19ce8829957a58286c5d 100644
(file)
--- 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);
}