From 4cd793ca2f57231d578b9f0631fc606023fd57e9 Mon Sep 17 00:00:00 2001 From: Edoardo Prezioso Date: Tue, 13 Oct 2015 09:13:37 +0200 Subject: [PATCH] - Fixed broken projectile firing projectiles code. This went unnoticed since ZDoom 2.0.90, which introduced the bug. Discovered with the recent TFlags improvements. --- src/thingdef/thingdef_codeptr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/thingdef/thingdef_codeptr.cpp b/src/thingdef/thingdef_codeptr.cpp index bf05ed298..9b451d40b 100644 --- a/src/thingdef/thingdef_codeptr.cpp +++ b/src/thingdef/thingdef_codeptr.cpp @@ -1014,7 +1014,7 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_CustomMissile) targ=owner; missile->target=owner; // automatic handling of seeker missiles - if ((self->flags & MF_STEALTH) && (missile->flags2 & MF2_SEEKERMISSILE)) + if (self->flags2 & missile->flags2 & MF2_SEEKERMISSILE) { missile->tracer=self->tracer; }