X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame.c;h=9e0327a491eac158a6907012e052b900287183eb;hb=def7303f9655be9d5fba4c313c61544fa284af2d;hp=f4ae9303776da68ac2be4439c6b5ff651be2fe59;hpb=8bf81088836952a4f0263281560ef2127435e4b2;p=rocksndiamonds.git diff --git a/src/game.c b/src/game.c index f4ae9303..9e0327a4 100644 --- a/src/game.c +++ b/src/game.c @@ -4394,15 +4394,6 @@ void UpdateEngineValues(int actual_scroll_x, int actual_scroll_y, { // this is used for non-R'n'D game engines to update certain engine values - 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); - } - // needed to determine if sounds are played within the visible screen area scroll_x = actual_scroll_x; scroll_y = actual_scroll_y; @@ -14865,9 +14856,6 @@ void PlayLevelSound_EM(int xx, int yy, int element_em, int sample) int x = xx - offset; int y = yy - offset; - x = correctLevelPosX_EM(x); - y = correctLevelPosY_EM(y); - switch (sample) { case SOUND_blank: