Browse Source

Fix edit error in plPXPhysical::ISetTransformGlobal, mismatched braces

rarified/vs2003buildtargets
rarified 5 years ago
parent
commit
b187b8fc59
  1. 3
      MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysX/plPXPhysical.cpp

3
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 // 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 // SDKs (yes, I'm looking at you, 2.6.4) that actually obey the ***GlobalPose
// rules set forth in the SDK documentation. // rules set forth in the SDK documentation.
if(fActor->readBodyFlag(NX_BF_KINEMATIC)) if (fActor->readBodyFlag(NX_BF_KINEMATIC))
fActor->moveGlobalPose(mat); fActor->moveGlobalPose(mat);
}
else else
fActor->setGlobalPose(mat); fActor->setGlobalPose(mat);
} }

Loading…
Cancel
Save