Update of /cvsroot/netrek/server/Vanilla/robots
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3938/robots
Modified Files:
pret.c
Log Message:
factorise team name
Index: pret.c
===================================================================
RCS file: /cvsroot/netrek/server/Vanilla/robots/pret.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- pret.c 22 Apr 2006 02:16:46 -0000 1.2
+++ pret.c 23 Apr 2006 10:39:10 -0000 1.3
@@ -33,9 +33,6 @@
char *roboname = "Kathy";
-static char *teamNames[9] = {" ", "Federation", "Romulans", " ", "Klingons",
- " ", " ", " ", "Orions"};
-
#define NUMADJ 12
static char *adj_s[NUMADJ] = {
"VICIOUS", "RUTHLESS", "IRONFISTED", "RELENTLESS",
@@ -675,7 +672,7 @@
if(o>=13) winner = ORI;
if(winner > 0) {
- messAll(255,roboname,"The %s have won this round of pre-T entertainment!", teamNames[winner]);
+ messAll(255,roboname,"The %s have won this round of pre-T entertainment!", team_name(winner));
obliterate(1,KPROVIDENCE, 0);
resetPlanets();
}