Date: Tuesday May 21, 2002 @ 1:17 Author: cameron Update of /home/netrek/cvsroot/Vanilla/tools In directory swashbuckler.real-time.com:/var/tmp/cvs-serv8501/tools Modified Files: xtkill.c Log Message: adjust army fix **************************************** Index: Vanilla/tools/xtkill.c diff -u Vanilla/tools/xtkill.c:1.8 Vanilla/tools/xtkill.c:1.9 --- Vanilla/tools/xtkill.c:1.8 Thu May 10 05:37:11 2001 +++ Vanilla/tools/xtkill.c Tue May 21 01:17:10 2002 @@ -190,7 +190,10 @@ players[player].p_kills += 1.0; break; case 'a': /* army increment */ - players[player].p_armies += 6; + if (strlen(argv[2]) > 1) + players[player].p_armies = atoi(argv[2]+1); + else + players[player].p_armies += 6; break; case 'C': /* clock surrender reset */ teams[players[player].p_team].s_surrender = 6; @@ -265,7 +268,7 @@ P(romote) (+1 to rank)\n\ k(ills increment) (+1 kill)\n\ h(arm) (no shields, 50%% damage)\n\ - a(rmies increment) (+6 armies)\n\ + a(rmies increment)[n] (+6 armies, or set to n)\n\ C(lock, surrender -- set it) (to 6 minutes (debugging aid))\n\ L(oss adjust, SB (-1)) (in case you toast an SB accidentally)\n\ R(obot obliterate) (like obliterate, but only for robots)\n\