Minor fix; didn't mean to include that flag check.

This commit is contained in:
MajorCooke 2014-09-28 08:20:27 -05:00
parent 43b86288c7
commit 96c6e7d9bf

View file

@ -5130,7 +5130,7 @@ static void DoRemove(AActor *removetarget, int flags)
//=========================================================================== //===========================================================================
DEFINE_ACTION_FUNCTION(AActor, A_RemoveTarget) DEFINE_ACTION_FUNCTION(AActor, A_RemoveTarget)
{ {
if ((self->target != NULL) && (self->tracer->flags3 & MF3_ISMONSTER)) if ((self->target != NULL))
{ {
P_RemoveThing(self->target); P_RemoveThing(self->target);
} }
@ -5143,7 +5143,7 @@ DEFINE_ACTION_FUNCTION(AActor, A_RemoveTarget)
//=========================================================================== //===========================================================================
DEFINE_ACTION_FUNCTION(AActor, A_RemoveTracer) DEFINE_ACTION_FUNCTION(AActor, A_RemoveTracer)
{ {
if ((self->tracer != NULL) && (self->tracer->flags3 & MF3_ISMONSTER)) if ((self->tracer != NULL))
{ {
P_RemoveThing(self->tracer); P_RemoveThing(self->tracer);
} }