no message

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@603 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2006-11-12 13:46:44 +00:00
parent 1dd14c43ba
commit 6340e0ebc4
4 changed files with 48 additions and 42 deletions
+3 -4
View File
@@ -77,11 +77,10 @@ void getstring(char *text, ucharbuf &p, int len)
const char *modenames[] =
{
"team deathmatch", "coopedit", "deathmatch", "survior",
"team survior", "ctf", "pistols frenzy", "bot team deathmatch", "bot deathmatch", "last swiss standing",
"team survior", "ctf", "pistols frenzy", "bot team deathmatch", "bot deathmatch", "last swiss standing", "last sniper standing"
};
//const char *modestr(int n) { return (n>=-2 && n<12) ? modenames[n+2] : "unknown"; };
const char *modestr(int n) { return (n>=0 && n<=9) ? modenames[n] : "unknown"; };
const char *modestr(int n) { return (n>=0 && n < sizeof(modenames)/sizeof(modenames[0])) ? modenames[n] : "unknown"; };
char msgsizesl[] = // size inclusive message token, 0 for variable or not-checked sizes
{