mirror of
https://github.com/yquake2/xatrix.git
synced 2025-04-25 11:21:03 +00:00
Add missing '== RANGE_MELEE'
This commit is contained in:
parent
374ab0bc43
commit
e1aefc5ed3
1 changed files with 1 additions and 1 deletions
|
@ -640,7 +640,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