This commit is contained in:
Christoph Oelckers 2015-01-06 15:55:22 +01:00
commit dac2ae6411

View file

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