projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31f32eb
)
fixed toggling game speed (using debug mode key shortcuts)
author
Holger Schemel
<info@artsoft.org>
Mon, 12 Dec 2016 21:34:40 +0000
(22:34 +0100)
committer
Holger Schemel
<info@artsoft.org>
Mon, 12 Dec 2016 21:34:40 +0000
(22:34 +0100)
src/events.c
patch
|
blob
|
history
diff --git
a/src/events.c
b/src/events.c
index abf74ba51b1385dbf1eefe283f34da81880042b7..e2d5ab9bdb47ef3fb81caed64112dd411b9e6a63 100644
(file)
--- 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;