- Fixed broken projectile firing projectiles code.

This went unnoticed since ZDoom 2.0.90, which introduced the bug. Discovered with the recent TFlags improvements.
This commit is contained in:
Edoardo Prezioso 2015-10-13 09:13:37 +02:00
parent 6678c3550e
commit 4cd793ca2f

View file

@ -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;
}