projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed bug with reanimating killed player by CE condition
[rocksndiamonds.git]
/
src
/
tools.c
diff --git
a/src/tools.c
b/src/tools.c
index 2bc7d4fe9c000c06b4b429559be9aded895a52cc..70441d1c649eb06074c3fe77ef482de307668ac8 100644
(file)
--- a/
src/tools.c
+++ b/
src/tools.c
@@
-291,8
+291,6
@@
static int getLevelFromScreenX_EM(int sx)
int px = sx - SX;
int lx = LEVELX((px + dx) / TILESIZE_VAR);
- lx = correctLevelPosX_EM(lx);
-
return lx;
}
@@
-308,8
+306,6
@@
static int getLevelFromScreenY_EM(int sy)
int py = sy - SY;
int ly = LEVELY((py + dy) / TILESIZE_VAR);
- ly = correctLevelPosY_EM(ly);
-
return ly;
}