]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
removed hack to make MSVC work as it was breaking gcc
authorlordhavoc <lordhavoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 2 Mar 2001 21:28:43 +0000 (21:28 +0000)
committerlordhavoc <lordhavoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 2 Mar 2001 21:28:43 +0000 (21:28 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@166 d7cf8633-e32d-0410-b094-e92efae38249

cl_parse.c

index 79e49a9817346d130c95a0d058728054ea777e18..9dd4a9163891457ed0adaa93b77cf43f41e05165 100644 (file)
@@ -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] = &("<unknown>");
+                       cmdlogname[cmdindex] = "<unknown>";
        
                // other commands
                switch (cmd)