From: Holger Schemel Date: Sun, 2 Feb 2020 22:33:45 +0000 (+0100) Subject: removed unused function X-Git-Tag: 4.2.0.0~156 X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=commitdiff_plain;h=a68937ac635c0225da51c55ec843a877b9dfbf12 removed unused function --- diff --git a/src/engines.h b/src/engines.h index b04dbe05..f59217b6 100644 --- a/src/engines.h +++ b/src/engines.h @@ -29,7 +29,6 @@ void SetBitmaps_EM(Bitmap **); void UpdateEngineValues(int, int, int, int); boolean getTeamMode_EM(void); -int getGameFrameDelay_EM(int); void PlayLevelSound_EM(int, int, int, int); void InitGraphicInfo_EM(void); diff --git a/src/tools.c b/src/tools.c index 0e8366d1..24e22776 100644 --- a/src/tools.c +++ b/src/tools.c @@ -8221,21 +8221,6 @@ boolean getTeamMode_EM(void) return game.team_mode || network_playing; } -int getGameFrameDelay_EM(int native_em_game_frame_delay) -{ - int game_frame_delay_value; - - game_frame_delay_value = - (tape.playing && tape.fast_forward ? FfwdFrameDelay : - GameFrameDelay == GAME_FRAME_DELAY ? native_em_game_frame_delay : - GameFrameDelay); - - if (tape.playing && tape.warp_forward && !tape.pausing) - game_frame_delay_value = 0; - - return game_frame_delay_value; -} - unsigned int InitRND(int seed) { if (level.game_engine_type == GAME_ENGINE_TYPE_EM)