From: Holger Schemel Date: Mon, 12 Dec 2016 21:34:40 +0000 (+0100) Subject: fixed toggling game speed (using debug mode key shortcuts) X-Git-Tag: 4.0.0.0~6 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=fcc90bcfa317ac5af938d552eb0a2df952801219;p=rocksndiamonds.git fixed toggling game speed (using debug mode key shortcuts) --- diff --git a/src/events.c b/src/events.c index abf74ba5..e2d5ab9b 100644 --- a/src/events.c +++ b/src/events.c @@ -1433,7 +1433,7 @@ void HandleKeysDebug(Key key) (mod_key_pressed == setup.debug.frame_delay_use_mod_key)) { GameFrameDelay = (GameFrameDelay != setup.debug.frame_delay[i] ? - setup.debug.frame_delay[i] : GAME_FRAME_DELAY); + setup.debug.frame_delay[i] : setup.game_frame_delay); if (!setup.debug.frame_delay_game_only) MenuFrameDelay = GameFrameDelay;