mirror of https://github.com/yquake2/xatrix.git
Underwater impacts of the Phalanx sound muffled
This commit is contained in:
parent
c151fffd3a
commit
ed8c40349d
|
@ -1483,7 +1483,16 @@ plasma_touch(edict_t *ent, edict_t *other, cplane_t *plane, csurface_t *surf)
|
|||
ent->dmg_radius, MOD_PHALANX);
|
||||
|
||||
gi.WriteByte(svc_temp_entity);
|
||||
gi.WriteByte(TE_PLASMA_EXPLOSION);
|
||||
|
||||
if (ent->waterlevel)
|
||||
{
|
||||
gi.WriteByte(TE_ROCKET_EXPLOSION_WATER);
|
||||
}
|
||||
else
|
||||
{
|
||||
gi.WriteByte(TE_PLASMA_EXPLOSION);
|
||||
}
|
||||
|
||||
gi.WritePosition(origin);
|
||||
gi.multicast(ent->s.origin, MULTICAST_PVS);
|
||||
|
||||
|
|
Loading…
Reference in New Issue