From f374cf514d46dfbfe3b1200fdfefaec34d072944 Mon Sep 17 00:00:00 2001 From: MajorCooke Date: Tue, 6 Jan 2015 08:20:13 -0600 Subject: [PATCH] - Fixed: Lore Shot didn't take DONTTHRUST into account. --- src/g_strife/a_loremaster.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/g_strife/a_loremaster.cpp b/src/g_strife/a_loremaster.cpp index 3c42ea181..d720b7b9b 100644 --- a/src/g_strife/a_loremaster.cpp +++ b/src/g_strife/a_loremaster.cpp @@ -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);