mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-02-17 01:21:12 +00:00
Added missing '== RANGE_MELEE'
This commit is contained in:
parent
a0d2604030
commit
8b62c972ac
1 changed files with 1 additions and 1 deletions
|
@ -665,7 +665,7 @@ floater_zap(edict_t *self)
|
||||||
gi.WriteByte(1); /* sparks */
|
gi.WriteByte(1); /* sparks */
|
||||||
gi.multicast(origin, MULTICAST_PVS);
|
gi.multicast(origin, MULTICAST_PVS);
|
||||||
|
|
||||||
if (range(self, self->enemy) && infront(self, self->enemy) &&
|
if (range(self, self->enemy) == RANGE_MELEE && infront(self, self->enemy) &&
|
||||||
visible(self, self->enemy))
|
visible(self, self->enemy))
|
||||||
{
|
{
|
||||||
T_Damage(self->enemy, self, self, dir, self->enemy->s.origin,
|
T_Damage(self->enemy, self, self, dir, self->enemy->s.origin,
|
||||||
|
|
Loading…
Reference in a new issue