From e5c145c760bd95e156b83f6ff7ae2a0cd9780a00 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Wed, 9 May 2001 06:57:23 +0000 Subject: [PATCH] correct the mis-parsing of TE_GUNSHOT --- nq/source/cl_tent.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nq/source/cl_tent.c b/nq/source/cl_tent.c index 22616b275..0d9576546 100644 --- a/nq/source/cl_tent.c +++ b/nq/source/cl_tent.c @@ -125,7 +125,7 @@ CL_ParseTEnt (void) #endif dlight_t *dl; int rnd; - int cnt = -1; + //int cnt = -1; int colorStart, colorLength; type = MSG_ReadByte (net_message); @@ -276,11 +276,11 @@ CL_ParseTEnt (void) break; case TE_GUNSHOT: // bullet hitting wall - cnt = MSG_ReadByte (net_message); + //cnt = MSG_ReadByte (net_message); pos[0] = MSG_ReadCoord (net_message); pos[1] = MSG_ReadCoord (net_message); pos[2] = MSG_ReadCoord (net_message); - R_RunPuffEffect (pos, type, cnt); + R_RunPuffEffect (pos, 0, 20); break; #ifdef QUAKE2