if (level.game_engine_type == GAME_ENGINE_TYPE_EM)
{
+ actual_scroll_x = correctLevelPosX_EM(actual_scroll_x);
+ actual_scroll_y = correctLevelPosY_EM(actual_scroll_y);
+
actual_player_x = correctLevelPosX_EM(actual_player_x);
actual_player_y = correctLevelPosY_EM(actual_player_y);
}
int px = sx - SX;
int lx = LEVELX((px + dx) / TILESIZE_VAR);
- lx = correctLevelPosX_EM(lx);
-
return lx;
}
int py = sy - SY;
int ly = LEVELY((py + dy) / TILESIZE_VAR);
- ly = correctLevelPosY_EM(ly);
-
return ly;
}