mirror of
https://gitgud.io/c0ffeeeeeeee/rimworld-animations.git
synced 2024-08-15 00:43:45 +00:00
orassan patch may break other races
This commit is contained in:
parent
2a4db3cc75
commit
6de9fc6be7
2 changed files with 4 additions and 4 deletions
Binary file not shown.
|
@ -78,7 +78,7 @@ namespace Rimworld_Animations {
|
|||
Vector3 vector2 = a + ((offset2 != null) ? offset2.GetOffset(renderFlags.FlagSet(PawnRenderFlags.Portrait), pawn.story.bodyType, pawn.story.headType) : Vector3.zero);
|
||||
vector2.y = (ba.inFrontOfBody ? (0.3f + vector2.y) : (-0.3f - vector2.y));
|
||||
float num = ba.angle;
|
||||
if (rotation == Rot4.North)
|
||||
if (((ba.drawnInBed && !forceDrawForBody) || ba.alignWithHead ? pawnAnimator.headFacing : pawnAnimator.bodyFacing) == Rot4.North)
|
||||
{
|
||||
if (ba.layerInvert)
|
||||
{
|
||||
|
@ -86,7 +86,7 @@ namespace Rimworld_Animations {
|
|||
}
|
||||
num = 0f;
|
||||
}
|
||||
if (rotation == Rot4.East)
|
||||
if (((ba.drawnInBed && !forceDrawForBody) || ba.alignWithHead ? pawnAnimator.headFacing : pawnAnimator.bodyFacing) == Rot4.East)
|
||||
{
|
||||
num = 0f - num;
|
||||
vector2.x = 0f - vector2.x;
|
||||
|
@ -97,7 +97,7 @@ namespace Rimworld_Animations {
|
|||
|
||||
Vector3 orassanv = Vector3.zero;
|
||||
bool orassan = false;
|
||||
|
||||
/*
|
||||
if ((pawn.def as ThingDef_AlienRace).defName == "Alien_Orassan")
|
||||
{
|
||||
orassan = true;
|
||||
|
@ -153,7 +153,7 @@ namespace Rimworld_Animations {
|
|||
orassanv = orassanv.RotatedBy(pawnAnimator.headAngle);
|
||||
}
|
||||
}
|
||||
|
||||
*/
|
||||
if ((ba.drawnInBed && !forceDrawForBody) || ba.alignWithHead)
|
||||
{
|
||||
|
||||
|
|
Loading…
Reference in a new issue