'd' and 's' will work normally if there is no stickman, otherwise shift-d and shift-s, corrected silly mistake

This commit is contained in:
Cracker64 2010-12-29 14:35:38 -05:00
parent 25b95e211e
commit 5766f9aa7e

View File

@ -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')
{