removed unused function
authorHolger Schemel <info@artsoft.org>
Sun, 2 Feb 2020 22:33:45 +0000 (23:33 +0100)
committerHolger Schemel <info@artsoft.org>
Tue, 19 May 2020 16:12:58 +0000 (18:12 +0200)
src/engines.h
src/tools.c

index b04dbe05c8845ed3d02e6754c68a21c7ee0ab8b8..f59217b64ef53ef555fb50e7adf6f17704b14a10 100644 (file)
@@ -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);
index 0e8366d1cfc6bbaf4c887a24821cc527fce3db88..24e227768b9f420b582675d2cda7a33cdc7915c2 100644 (file)
@@ -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)