From 5766f9aa7ee0f78adea5799322dce67506d9247d Mon Sep 17 00:00:00 2001 From: Cracker64 Date: Wed, 29 Dec 2010 14:35:38 -0500 Subject: [PATCH] 'd' and 's' will work normally if there is no stickman, otherwise shift-d and shift-s, corrected silly mistake --- src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index 42a3d75de..8a0cf0e51 100644 --- a/src/main.c +++ b/src/main.c @@ -1357,7 +1357,7 @@ int main(int argc, char *argv[]) free(load_data); } } - if(sdl_key=='s' && (sdl_mod & (KMOD_CTRL)) || (sdl_key=='s' && !player2)) + if(sdl_key=='s' && (sdl_mod & (KMOD_CTRL)) || (sdl_key=='s' && !isplayer2)) { if(it > 50) it = 50; @@ -1491,7 +1491,7 @@ int main(int argc, char *argv[]) bsy = 0; } } - if(sdl_key=='d'&&(sdl_mod & (KMOD_CTRL)) || (sdl_key=='d' && !player2)) + if(sdl_key=='d'&&(sdl_mod & (KMOD_CTRL)) || (sdl_key=='d' && !isplayer2)) DEBUG_MODE = !DEBUG_MODE; if(sdl_key=='i') {