From bcd3ba4e18dd394fcc2f3244d4994c74ddbe08af Mon Sep 17 00:00:00 2001 From: lordhavoc Date: Fri, 2 Mar 2001 21:28:43 +0000 Subject: [PATCH] removed hack to make MSVC work as it was breaking gcc git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@166 d7cf8633-e32d-0410-b094-e92efae38249 --- cl_parse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cl_parse.c b/cl_parse.c index 79e49a98..9dd4a916 100644 --- a/cl_parse.c +++ b/cl_parse.c @@ -803,7 +803,7 @@ void CL_ParseServerMessage (void) // if the high bit of the command byte is set, it is a fast update if (cmd & 128) { - cmdlogname[cmdindex] = &("svc_entity"); + cmdlogname[cmdindex] = "svc_entity"; SHOWNET("fast update"); CL_ParseUpdate (cmd&127); continue; @@ -812,7 +812,7 @@ void CL_ParseServerMessage (void) SHOWNET(svc_strings[cmd]); cmdlogname[cmdindex] = svc_strings[cmd]; if (!cmdlogname[cmdindex]) - cmdlogname[cmdindex] = &(""); + cmdlogname[cmdindex] = ""; // other commands switch (cmd) -- 2.39.2