Remove superflous statement

This was originaly committed into baseq2 by svdijk
This commit is contained in:
Yamagi Burmeister 2013-04-29 18:20:11 +02:00
parent a7e3e4b445
commit 3bd64f2da0

View file

@ -347,12 +347,6 @@ infront(edict_t *self, edict_t *other)
}
AngleVectors(self->s.angles, forward, NULL, NULL);
if ((self == NULL) || (other == NULL))
{
return false;
}
VectorSubtract(other->s.origin, self->s.origin, vec);
VectorNormalize(vec);
dot = DotProduct(vec, forward);