no message

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@322 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2006-08-12 10:01:35 +00:00
parent fb53f69d17
commit 6453b9a6e3
17 changed files with 198 additions and 134 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", "pistols only!",
"team survior", "ctf", "pistols only!", "botmatch",
};
//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"; };
/* Modified by Rick: New messages and different sizes for existing ones
char msgsizesl[] = // size inclusive message token, 0 for variable or not-checked sizes