From df199013241ae4cb670e375c174af0df3f9b2b1c Mon Sep 17 00:00:00 2001 From: "theastropath@gmail.com" Date: Mon, 18 Nov 2024 18:52:11 -0500 Subject: [PATCH] DXRFashionManager forcibly disables HDTP JC and Paul in Revision #1030 --- DXRando/DeusEx/Classes/DXRFashionManager.uc | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/DXRando/DeusEx/Classes/DXRFashionManager.uc b/DXRando/DeusEx/Classes/DXRFashionManager.uc index a3af743fd..1620f9604 100644 --- a/DXRando/DeusEx/Classes/DXRFashionManager.uc +++ b/DXRando/DeusEx/Classes/DXRFashionManager.uc @@ -783,6 +783,19 @@ simulated function ApplyClothing(Actor a, int person) local int i; local Texture overrides[8]; + #ifdef revision + //Force appearance back to vanilla + if (#var(DeusExPrefix)Carcass(a)!=None){ + #var(DeusExPrefix)Carcass(a).Facelift(False); + } else if (#var(prefix)ScriptedPawn(a)!=None){ + #var(prefix)ScriptedPawn(a).Facelift(False); + } else if (#var(PlayerPawn)(a)!=None){ + #var(PlayerPawn)(a).Facelift(False); + #var(PlayerPawn)(a).bHDTP_JC=False; + #var(PlayerPawn)(a).bHDTP_Paul=False; + } + #endif + ForceCarcassType(a); a.Mesh=GetCurModelByPerson(person);