From 50ea5e2e37006a58cf021045acf8ad3dbce0af98 Mon Sep 17 00:00:00 2001 From: ac_stef Date: Thu, 6 Aug 2009 11:57:35 +0000 Subject: [PATCH] add SV_SPECTCN git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4603 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/clients2c.cpp | 4 ++++ source/src/protos.h | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/source/src/clients2c.cpp b/source/src/clients2c.cpp index 0f4699ee..3ab4d500 100644 --- a/source/src/clients2c.cpp +++ b/source/src/clients2c.cpp @@ -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); diff --git a/source/src/protos.h b/source/src/protos.h index 17de240d..89e8145b 100644 --- a/source/src/protos.h +++ b/source/src/protos.h @@ -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';