mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-22 02:11:19 +00:00
correct the mis-parsing of TE_GUNSHOT
This commit is contained in:
parent
e96ab564af
commit
e5c145c760
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue