mirror of
https://github.com/yquake2/xatrix.git
synced 2025-04-21 09:40:46 +00:00
Remove superflous statement
This was originaly committed into baseq2 by svdijk
This commit is contained in:
parent
a7e3e4b445
commit
3bd64f2da0
1 changed files with 0 additions and 6 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue