source update

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@16 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2005-06-23 22:32:59 +00:00
parent c6e385ea38
commit da6a8c361b
10 changed files with 165 additions and 59 deletions
+2 -2
View File
@@ -29,11 +29,11 @@ void sendstring(char *t, uchar *&p)
const char *modenames[] =
{
"team deathmatch", "coopedit", "deathmatch", "survior",
"team survior", "ctf",
"team survior", "ctf", "pistols",
};
//const char *modestr(int n) { return (n>=-2 && n<12) ? modenames[n+2] : "unknown"; };
const char *modestr(int n) { return (n>=0 && n<6) ? modenames[n] : "unknown"; };
const char *modestr(int n) { return (n>=0 && n<7) ? modenames[n] : "unknown"; };
char msgsizesl[] = // size inclusive message token, 0 for variable or not-checked sizes