diff options
| author | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-03-20 20:22:41 +0000 |
|---|---|---|
| committer | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-03-20 20:22:41 +0000 |
| commit | 1e1d106a545a9cadc517de1a0ad931f1a8fcc2fa (patch) | |
| tree | 1c6720eb14074cd0be263a75f1c547b83bfaa420 /src/screen_world.c | |
| parent | dbf67486087dea9c501014247a82244a44213582 (diff) | |
- uprava sietoveho protokola
- novy prikaz to prtokolu "status"
- moznost nastavit maximalny pocet clientov pri serverti ./publicserver --maxclient <max clients>
- drobne upravy v kode
git-svn-id: http://opensvn.csie.org/tuxanci_ng@30 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'src/screen_world.c')
| -rw-r--r-- | src/screen_world.c | 8 |
1 files changed, 4 insertions, 4 deletions
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(); |