projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
version number set to 4.2.0.0
[rocksndiamonds.git]
/
src
/
game_em
/
init.c
diff --git
a/src/game_em/init.c
b/src/game_em/init.c
index 70da7982cd8159f441c8a7b926ede395ea1f93cc..b2a396dfcea8ad972ec86170e0736922962a554e 100644
(file)
--- a/
src/game_em/init.c
+++ b/
src/game_em/init.c
@@
-63,7
+63,7
@@
void em_close_all(void)
void play_element_sound(int x, int y, int sample, int element)
{
void play_element_sound(int x, int y, int sample, int element)
{
- PlayLevelSound_EM(
x, y
, element, sample);
+ PlayLevelSound_EM(
CAVE_POS_X(x), CAVE_POS_Y(y)
, element, sample);
}
void play_sound(int x, int y, int sample)
}
void play_sound(int x, int y, int sample)
@@
-71,20
+71,6
@@
void play_sound(int x, int y, int sample)
play_element_sound(x, y, sample, -1);
}
play_element_sound(x, y, sample, -1);
}
-int correctLevelPosX_EM(int lx)
-{
- lx -= lev.left;
-
- return lx;
-}
-
-int correctLevelPosY_EM(int ly)
-{
- ly -= lev.top;
-
- return ly;
-}
-
unsigned int InitEngineRandom_EM(int seed)
{
if (seed == NEW_RANDOMIZE)
unsigned int InitEngineRandom_EM(int seed)
{
if (seed == NEW_RANDOMIZE)