Skip to content
This repository has been archived by the owner on Nov 3, 2022. It is now read-only.

Commit

Permalink
unnecessary harmony patch DrawBodyApparel removal
Browse files Browse the repository at this point in the history
  • Loading branch information
Taranchuk committed Jan 3, 2022
1 parent 689e1e9 commit 28f94c1
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 91 deletions.
Binary file modified 1.3/Assemblies/VFECore.dll
Binary file not shown.
1 change: 0 additions & 1 deletion Source/VFECore/VFECore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,6 @@
<Compile Include="VFECore\HarmonyPatches\Patch_GenStep_Settlement.cs" />
<Compile Include="VFECore\HarmonyPatches\Patch_IncidentWorker_WandererJoin.cs" />
<Compile Include="VFECore\HarmonyPatches\Patch_ITab_Pawn_Gear.cs" />
<Compile Include="VFECore\HarmonyPatches\Patch_PawnRenderer.cs" />
<Compile Include="VFECore\HarmonyPatches\Patch_WorldFactionsUIUtility.cs" />
<Compile Include="VFECore\HarmonyPatches\Patch_Pawn.cs" />
<Compile Include="VFECore\HarmonyPatches\Patch_Pawn_ApparelTracker.cs" />
Expand Down
9 changes: 0 additions & 9 deletions Source/VFECore/VFECore/HarmonyPatches/HarmonyPatches.cs
Original file line number Diff line number Diff line change
Expand Up @@ -109,15 +109,6 @@ static HarmonyPatches()
else
Log.Error("Could not find type RunAndGun.Harmony.Verb_TryCastNextBurstShot in RunAndGun");
}

// Combat Extended rendering
if (ModCompatibilityCheck.CombatExtended)
{
var outerType = AccessTools.TypeByName("CombatExtended.HarmonyCE.Harmony_PawnRenderer");
var innerType = AccessTools.Inner(outerType, "Harmony_PawnRenderer_DrawBodyApparel");
var method = AccessTools.Method(innerType, "IsVisibleLayer");
Patch_PawnRenderer.CE_IsVisibleLayer = MethodInvoker.GetHandler(method);
}
}
}
}
81 changes: 0 additions & 81 deletions Source/VFECore/VFECore/HarmonyPatches/Patch_PawnRenderer.cs

This file was deleted.

0 comments on commit 28f94c1

Please sign in to comment.