added correcting playfield scroll position for EM engine
[rocksndiamonds.git] / src / tools.c
index 2bc7d4fe9c000c06b4b429559be9aded895a52cc..70441d1c649eb06074c3fe77ef482de307668ac8 100644 (file)
@@ -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;
 }