X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_em%2Finput.c;h=33df9f3fb4a1ff8471fbff2564235bfc316ec07c;hb=7bb60f12d6369c20c459e165fa30beda8af67576;hp=98a896e191209aae6604c238e9125e82f0c25276;hpb=2c89261a1186ffc19bd6e5f82e9369bee1545e2f;p=rocksndiamonds.git diff --git a/src/game_em/input.c b/src/game_em/input.c index 98a896e1..33df9f3f 100644 --- a/src/game_em/input.c +++ b/src/game_em/input.c @@ -70,7 +70,11 @@ void InitGameEngine_EM() void GameActions_EM(byte action) { static unsigned long game_frame_delay = 0; +#if 1 + unsigned long game_frame_delay_value = getGameFrameDelay_EM(20); +#else unsigned long game_frame_delay_value = getGameFrameDelay_EM(25); +#endif #if 0 /* this is done in screens.c/HandleGameActions() by calling BackToFront() */ @@ -101,7 +105,7 @@ void GameActions_EM(byte action) sound_play(); DrawGameDoorValues_EM(lev.required, ply1.dynamite, lev.score, - (lev.time + 4) / 5); + DISPLAY_TIME(lev.time)); } }