From 39f64383cb90ec611dadba05bc003374fc0217c1 Mon Sep 17 00:00:00 2001 From: MajorCooke Date: Wed, 11 May 2016 07:28:05 -0500 Subject: [PATCH] Changed RTF_THRUSTZ to match RADF_THRUSTZ's bitmap. --- src/thingdef/thingdef_codeptr.cpp | 2 -- wadsrc/static/actors/constants.txt | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/thingdef/thingdef_codeptr.cpp b/src/thingdef/thingdef_codeptr.cpp index b2373a7a0..677687f3e 100644 --- a/src/thingdef/thingdef_codeptr.cpp +++ b/src/thingdef/thingdef_codeptr.cpp @@ -1146,7 +1146,6 @@ enum RTF_AFFECTSOURCE = 1, RTF_NOIMPACTDAMAGE = 2, RTF_NOTMISSILE = 4, - RTF_THRUSTZ = 8, }; DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_RadiusThrust) @@ -1168,7 +1167,6 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_RadiusThrust) sourcenothrust = true; self->target->flags2 &= ~MF2_NODMGTHRUST; } - if (flags & RTF_THRUSTZ) flags |= RADF_THRUSTZ; P_RadiusAttack (self, self->target, force, distance, self->DamageType, flags | RADF_NODAMAGE, fullthrustdistance); P_CheckSplash(self, distance); diff --git a/wadsrc/static/actors/constants.txt b/wadsrc/static/actors/constants.txt index 7b8e25a9f..1922194ed 100644 --- a/wadsrc/static/actors/constants.txt +++ b/wadsrc/static/actors/constants.txt @@ -178,7 +178,7 @@ const int XF_NOTMISSILE = 4; const int RTF_AFFECTSOURCE = 1; const int RTF_NOIMPACTDAMAGE = 2; const int RTF_NOTMISSILE = 4; -const int RTF_THRUSTZ = 8; +const int RTF_THRUSTZ = 16; // Flags for A_Blast const int BF_USEAMMO = 1;