add SV_SPECTCN

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4603 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
ac_stef
2009-08-06 11:57:35 +00:00
parent 8647ed2150
commit 50ea5e2e37
2 changed files with 7 additions and 1 deletions
+4
View File
@@ -407,6 +407,10 @@ void parsemessages(int cn, playerent *d, ucharbuf &p)
break;
}
case SV_SPECTCN:
getint(p);
break;
case SV_SHOTFX:
{
int scn = getint(p), gun = getint(p);
+3 -1
View File
@@ -213,7 +213,9 @@ struct serverinfo
unsigned char uplinkstats[MAXCLIENTS + 1];
serverinfo()
: mode(0), numplayers(0), maxclients(0), ping(9999), protocol(0), minremain(0), resolved(UNRESOLVED), port(-1), lastpingmillis(0), pongflags(0), getinfo(EXTPING_NOP), bgcolor(NULL), favcat(-1), msweight(0), weight(0), uplinkqual(0), uplinkqual_age(0)
: mode(0), numplayers(0), maxclients(0), ping(9999), protocol(0), minremain(0),
resolved(UNRESOLVED), port(-1), lastpingmillis(0), pongflags(0), getinfo(EXTPING_NOP),
bgcolor(NULL), favcat(-1), msweight(0), weight(0), uplinkqual(0), uplinkqual_age(0)
{
name[0] = full[0] = map[0] = sdesc[0] = description[0] = '\0';
loopi(3) lang[i] = '\0';