projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bf8108
)
fixed correcting playfield buffer offsets for EM engine
author
Holger Schemel
<info@artsoft.org>
Thu, 28 May 2020 16:23:18 +0000
(18:23 +0200)
committer
Holger Schemel
<info@artsoft.org>
Thu, 28 May 2020 16:23:18 +0000
(18:23 +0200)
src/game_em/init.c
patch
|
blob
|
history
diff --git
a/src/game_em/init.c
b/src/game_em/init.c
index bd9cbc8576d1e751f38dbbc1d1a487c58c4b33a3..70da7982cd8159f441c8a7b926ede395ea1f93cc 100644
(file)
--- a/
src/game_em/init.c
+++ b/
src/game_em/init.c
@@
-73,14
+73,14
@@
void play_sound(int x, int y, int sample)
int correctLevelPosX_EM(int lx)
{
- lx -=
1
;
+ lx -=
lev.left
;
return lx;
}
int correctLevelPosY_EM(int ly)
{
- ly -=
1
;
+ ly -=
lev.top
;
return ly;
}