From 7157db89b73db5f6edd2e42ad68a52964e48243c Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 22 Jan 2015 14:13:25 +0100 Subject: [PATCH] - fixed: A_VileAttack didn't check for MF7_DONTTHRUST. This is a fixed version of Major Cookes pull request. --- src/g_doom/a_archvile.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/g_doom/a_archvile.cpp b/src/g_doom/a_archvile.cpp index 8fce33324..f24ff146e 100644 --- a/src/g_doom/a_archvile.cpp +++ b/src/g_doom/a_archvile.cpp @@ -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); }