mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 22:31:05 +00:00
get the gunshot effect back
This commit is contained in:
parent
793a5ff084
commit
3461e3d106
1 changed files with 2 additions and 1 deletions
|
@ -370,8 +370,8 @@ CL_ParseTEnt (void)
|
|||
case TE_GUNSHOT: // bullet hitting wall
|
||||
case TE_BLOOD: // bullets hitting body
|
||||
if (type == TE_GUNSHOT) {
|
||||
Con_Printf("gunshot ");
|
||||
cnt = 20;
|
||||
type = 0;
|
||||
} else {
|
||||
cnt = MSG_ReadByte (net_message);
|
||||
}
|
||||
|
@ -381,6 +381,7 @@ CL_ParseTEnt (void)
|
|||
pos[1] = MSG_ReadCoord (net_message);
|
||||
pos[2] = MSG_ReadCoord (net_message);
|
||||
R_RunPuffEffect (pos, type, cnt);
|
||||
Con_Printf("%d %d %f %f %f\n", type, cnt, pos[0], pos[1], pos[2]);
|
||||
break;
|
||||
|
||||
#ifdef QUAKE2
|
||||
|
|
Loading…
Reference in a new issue