mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +00:00
- fixed: A_VileAttack didn't check for MF7_DONTTHRUST.
This is a fixed version of Major Cookes pull request.
This commit is contained in:
parent
73bdd06ceb
commit
7157db89b7
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue