- fixed: A_VileAttack didn't check for MF7_DONTTHRUST.

This is a fixed version of Major Cookes pull request.
This commit is contained in:
Christoph Oelckers 2015-01-22 14:13:25 +01:00
parent 73bdd06ceb
commit 7157db89b7
1 changed files with 2 additions and 1 deletions

View File

@ -151,5 +151,6 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_VileAttack)
P_RadiusAttack (fire, self, blastdmg, blastrad, dmgtype, 0);
}
target->velz = Scale(thrust, 1000, target->Mass);
if (!(target->flags7 & MF7_DONTTHRUST))
target->velz = Scale(thrust, 1000, target->Mass);
}