- Fixed: Lore Shot didn't take DONTTHRUST into account.

This commit is contained in:
MajorCooke 2015-01-06 08:20:13 -06:00
parent 2b12db153b
commit f374cf514d

View file

@ -23,7 +23,7 @@ int ALoreShot::DoSpecialDamage (AActor *target, int damage, FName damagetype)
{
FVector3 thrust;
if (this->target != NULL)
if (this->target != NULL && !(this->target->flags7 & MF7_DONTTHRUST))
{
thrust.X = float(this->target->x - target->x);
thrust.Y = float(this->target->y - target->y);