mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-27 22:33:17 +00:00
Minor fix; didn't mean to include that flag check.
This commit is contained in:
parent
43b86288c7
commit
96c6e7d9bf
1 changed files with 2 additions and 2 deletions
|
@ -5130,7 +5130,7 @@ static void DoRemove(AActor *removetarget, int flags)
|
|||
//===========================================================================
|
||||
DEFINE_ACTION_FUNCTION(AActor, A_RemoveTarget)
|
||||
{
|
||||
if ((self->target != NULL) && (self->tracer->flags3 & MF3_ISMONSTER))
|
||||
if ((self->target != NULL))
|
||||
{
|
||||
P_RemoveThing(self->target);
|
||||
}
|
||||
|
@ -5143,7 +5143,7 @@ DEFINE_ACTION_FUNCTION(AActor, A_RemoveTarget)
|
|||
//===========================================================================
|
||||
DEFINE_ACTION_FUNCTION(AActor, A_RemoveTracer)
|
||||
{
|
||||
if ((self->tracer != NULL) && (self->tracer->flags3 & MF3_ISMONSTER))
|
||||
if ((self->tracer != NULL))
|
||||
{
|
||||
P_RemoveThing(self->tracer);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue