Skip to content

Commit

Permalink
DXRFashionManager forcibly disables HDTP JC and Paul in Revision Die4…
Browse files Browse the repository at this point in the history
  • Loading branch information
theastropath authored and MQDuck committed Nov 29, 2024
1 parent 5c0b4f2 commit df19901
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions DXRando/DeusEx/Classes/DXRFashionManager.uc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit df19901

Please sign in to comment.