mirror of
https://github.com/yquake2/xatrix.git
synced 2024-11-10 06:42:22 +00:00
Underwater impacts of the Phalanx sound muffled
This commit is contained in:
parent
c151fffd3a
commit
ed8c40349d
1 changed files with 10 additions and 1 deletions
|
@ -1483,7 +1483,16 @@ plasma_touch(edict_t *ent, edict_t *other, cplane_t *plane, csurface_t *surf)
|
||||||
ent->dmg_radius, MOD_PHALANX);
|
ent->dmg_radius, MOD_PHALANX);
|
||||||
|
|
||||||
gi.WriteByte(svc_temp_entity);
|
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.WritePosition(origin);
|
||||||
gi.multicast(ent->s.origin, MULTICAST_PVS);
|
gi.multicast(ent->s.origin, MULTICAST_PVS);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue