projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added using separate constants for tiles in EM engine caves and game logic
[rocksndiamonds.git]
/
src
/
game.c
diff --git
a/src/game.c
b/src/game.c
index 888e1ebf0af64304339a0e2e48c41c2fa74c83a5..5164505efa8a7e7d0dd81b163095a7fd3335756e 100644
(file)
--- a/
src/game.c
+++ b/
src/game.c
@@
-14706,7
+14706,7
@@
static void PlayLevelMusic(void)
void PlayLevelSound_EM(int xx, int yy, int element_em, int sample)
{
void PlayLevelSound_EM(int xx, int yy, int element_em, int sample)
{
- int element = (element_em > -1 ? map_element_EM_to_RND(element_em) : 0);
+ int element = (element_em > -1 ? map_element_EM_to_RND
_game
(element_em) : 0);
int offset = (BorderElement == EL_STEELWALL ? 1 : 0);
int x = xx - 1 - offset;
int y = yy - 1 - offset;
int offset = (BorderElement == EL_STEELWALL ? 1 : 0);
int x = xx - 1 - offset;
int y = yy - 1 - offset;