From b187b8fc59624867ce558f8b2d17bdd25f3ead87 Mon Sep 17 00:00:00 2001 From: rarified Date: Mon, 13 Apr 2020 09:07:23 -0600 Subject: [PATCH] Fix edit error in plPXPhysical::ISetTransformGlobal, mismatched braces --- .../Sources/Plasma/PubUtilLib/plPhysX/plPXPhysical.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysX/plPXPhysical.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysX/plPXPhysical.cpp index bdbed73e..ff706964 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysX/plPXPhysical.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysX/plPXPhysical.cpp @@ -859,9 +859,8 @@ void plPXPhysical::ISetTransformGlobal(const hsMatrix44& l2w) // are also kinematic but not kPhysAnim, therefore, this would break on PhysX // SDKs (yes, I'm looking at you, 2.6.4) that actually obey the ***GlobalPose // rules set forth in the SDK documentation. - if(fActor->readBodyFlag(NX_BF_KINEMATIC)) + if (fActor->readBodyFlag(NX_BF_KINEMATIC)) fActor->moveGlobalPose(mat); - } else fActor->setGlobalPose(mat); }