From 524e8130071f4fd15047213cc49047dab15ea723 Mon Sep 17 00:00:00 2001 From: lordhavoc Date: Sun, 28 Apr 2002 19:35:17 +0000 Subject: [PATCH] minor cleaning of obsolete protocol stuff (svc_fog is now considered unused, because it really never was used) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1778 d7cf8633-e32d-0410-b094-e92efae38249 --- cl_parse.c | 4 ++-- protocol.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cl_parse.c b/cl_parse.c index a4ec9d37..8f4df288 100644 --- a/cl_parse.c +++ b/cl_parse.c @@ -81,7 +81,7 @@ char *svc_strings[128] = "", // 48 "", // 49 "svc_cgame", // 50 // [short] length [bytes] data - "svc_fog", // 51 // unfinished and obsolete + "svc_unusedlh1", // 51 // unused "svc_effect", // 52 // [vector] org [byte] modelindex [byte] startframe [byte] framecount [byte] framerate "svc_effect2", // 53 // [vector] org [short] modelindex [short] startframe [byte] framecount [byte] framerate "svc_sound2", // 54 // short soundindex instead of byte @@ -216,7 +216,7 @@ void CL_KeepaliveMessage (void) switch (ret) { default: - Host_Error ("CL_KeepaliveMessage: CL_GetMessage failed"); + Host_Error ("CL_KeepaliveMessage: CL_GetMessage failed"); case 0: break; // nothing waiting case 1: diff --git a/protocol.h b/protocol.h index 220ef14c..0f70aabf 100644 --- a/protocol.h +++ b/protocol.h @@ -209,7 +209,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // LordHavoc: my svc_ range, 50-59 #define svc_cgame 50 // [short] length [bytes] data -#define svc_fog 51 // unfinished and obsolete +#define svc_unusedlh1 51 #define svc_effect 52 // [vector] org [byte] modelindex [byte] startframe [byte] framecount [byte] framerate #define svc_effect2 53 // [vector] org [short] modelindex [short] startframe [byte] framecount [byte] framerate #define svc_sound2 54 // short soundindex instead of byte -- 2.39.2