mirror of
https://gitgud.io/AbstractConcept/rimworld-animations-patch.git
synced 2024-08-15 00:43:27 +00:00
v 2.0.4
- Fixed a bug that was causing body parts to render over clothes
This commit is contained in:
parent
001121649b
commit
cce0053fd6
10 changed files with 6 additions and 26 deletions
|
@ -183,7 +183,7 @@ namespace Rimworld_Animations_Patch
|
|||
return 1f;
|
||||
}
|
||||
|
||||
private static Dictionary<string, Vector3> raceSpecifocChildMultipliers = new Dictionary<string, Vector3>()
|
||||
private static Dictionary<string, Vector3> raceSpecificChildMultipliers = new Dictionary<string, Vector3>()
|
||||
{
|
||||
{ "Alien_Orassan", new Vector3(1.4f, 1.4f, 1.4f) },
|
||||
{ "Alien_Cutebold", new Vector3(1.2f, 1f, 1f) },
|
||||
|
@ -194,7 +194,7 @@ namespace Rimworld_Animations_Patch
|
|||
{
|
||||
Vector2 multiplierVector = new Vector2();
|
||||
|
||||
if (GetBodySize(pawn) == 1f || raceSpecifocChildMultipliers.TryGetValue(pawn.def.defName, out Vector3 raceVector) == false)
|
||||
if (GetBodySize(pawn) == 1f || raceSpecificChildMultipliers.TryGetValue(pawn.def.defName, out Vector3 raceVector) == false)
|
||||
{ raceVector = new Vector3(1f, 1f, 1f); }
|
||||
|
||||
if (bodypart?.defName == "tail" || bodypart?.defName == "Tail")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue