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:
@@ -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
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user