From 1e1d106a545a9cadc517de1a0ad931f1a8fcc2fa Mon Sep 17 00:00:00 2001 From: oroborus Date: Thu, 20 Mar 2008 20:22:41 +0000 Subject: - uprava sietoveho protokola - novy prikaz to prtokolu "status" - moznost nastavit maximalny pocet clientov pri serverti ./publicserver --maxclient - drobne upravy v kode git-svn-id: http://opensvn.csie.org/tuxanci_ng@30 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e --- src/screen_world.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/screen_world.c') diff --git a/src/screen_world.c b/src/screen_world.c index f9ef868..d4540b1 100644 --- a/src/screen_world.c +++ b/src/screen_world.c @@ -282,13 +282,13 @@ static void control_keyboard_right(tux_t *tux) actionTux(tux, TUX_DOWN); } - if( mapa[(SDLKey)SDLK_LCTRL] == SDL_PRESSED ) + if( mapa[(SDLKey)SDLK_KP0] == SDL_PRESSED ) { netAction(tux, TUX_SHOT); actionTux(tux, TUX_SHOT); } - if( mapa[(SDLKey)SDLK_LSHIFT] == SDL_PRESSED ) + if( mapa[(SDLKey)SDLK_KP1] == SDL_PRESSED ) { if( tux->isCanSwitchGun == TRUE ) { @@ -389,10 +389,10 @@ void eventWorld() eventMoveListShot(arena->listShot); eventListItem(arena->listItem); - eventListTux(arena->listTux); - eventTimer(); eventNetMultiplayer(); + eventListTux(arena->listTux); + eventTimer(); eventEnd(); eventEsc(); -- cgit v1.2.3