Added RTF_THRUSTZ for A_RadiusThrust.

- Allows thrusting with Z velocity.
This commit is contained in:
MajorCooke 2016-05-11 06:59:11 -05:00 committed by Christoph Oelckers
commit 952219a018
4 changed files with 8 additions and 4 deletions

View file

@ -5321,7 +5321,7 @@ void P_RadiusAttack(AActor *bombspot, AActor *bombsource, int bombdamage, int bo
vz *= 0.8;
}
thing->Thrust(bombspot->AngleTo(thing), thrust);
if (!(flags & RADF_NODAMAGE))
if (!(flags & RADF_NODAMAGE) || (flags & RADF_THRUSTZ))
thing->Vel.Z += vz; // this really doesn't work well
}
}