From: Holger Schemel Date: Sun, 2 Feb 2020 20:40:13 +0000 (+0100) Subject: removed needless delay when relocating the player X-Git-Tag: 4.2.0.0~157 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=60e76fc5451a6caed053db7c94dce85daf845cb6;p=rocksndiamonds.git removed needless delay when relocating the player --- diff --git a/src/game_em/graphics.c b/src/game_em/graphics.c index d103de7d..ab9158bf 100644 --- a/src/game_em/graphics.c +++ b/src/game_em/graphics.c @@ -622,8 +622,6 @@ void RedrawPlayfield_EM(boolean force_redraw) if (draw_new_player_location && !quick_relocation) { - unsigned int game_frame_delay_value = getGameFrameDelay_EM(20); - int wait_delay_value = game_frame_delay_value; int screen_xx = VALID_SCREEN_X(sx); int screen_yy = VALID_SCREEN_Y(sy); @@ -670,8 +668,6 @@ void RedrawPlayfield_EM(boolean force_redraw) BlitScreenToBitmap_EM(backbuffer); BackToFront_EM(); - Delay(wait_delay_value); - /* scroll second step to align at full tile size */ screen_x -= dxx; screen_y -= dyy; @@ -683,8 +679,6 @@ void RedrawPlayfield_EM(boolean force_redraw) BlitScreenToBitmap_EM(backbuffer); BackToFront_EM(); - - Delay(wait_delay_value); } screen_x_old = screen_x;