|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
/* $Id: playermenu.c,v 1.12 2004/11/07 04:13:10 stpohle Exp $
|
|
|
|
|
/* $Id: playermenu.c,v 1.13 2004/12/01 22:02:43 patty21 Exp $
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#include "bomberclone.h"
|
|
|
|
@ -144,9 +144,9 @@ int playermenu_selgfx (int pl_nr) {
|
|
|
|
|
*/
|
|
|
|
|
if (event.key.keysym.sym == SDLK_UP && selgfx >= 4)
|
|
|
|
|
selgfx -= 4;
|
|
|
|
|
if (event.key.keysym.sym == SDLK_DOWN && selgfx < MAX_PLAYERS-4)
|
|
|
|
|
if (event.key.keysym.sym == SDLK_DOWN && selgfx < gfx.player_gfx_count-4)
|
|
|
|
|
selgfx += 4;
|
|
|
|
|
if (event.key.keysym.sym == SDLK_RIGHT && selgfx < MAX_PLAYERS-1)
|
|
|
|
|
if (event.key.keysym.sym == SDLK_RIGHT && selgfx < gfx.player_gfx_count-1)
|
|
|
|
|
selgfx++;
|
|
|
|
|
if (event.key.keysym.sym == SDLK_LEFT && selgfx > 0)
|
|
|
|
|
selgfx--;
|
|
|
|
|