Update of /cvsroot/netrek/client/netrekxp/src In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv6665 Modified Files: input.c Log Message: Fix crash bug with lockbaseorplanet. Index: input.c =================================================================== RCS file: /cvsroot/netrek/client/netrekxp/src/input.c,v retrieving revision 1.46 retrieving revision 1.47 diff -u -d -r1.46 -r1.47 --- input.c 19 Apr 2008 16:23:00 -0000 1.46 +++ input.c 23 Jul 2008 10:09:34 -0000 1.47 @@ -366,7 +366,7 @@ } } - for (i = 0, j = &players[i]; i < MAXPLAYER; i++, j++) + for (i = 0, j = &players[i]; i < nplayers; i++, j++) { if (j->p_status != PALIVE) continue;