Skip to content

Commit

Permalink
Fix incorrect hsQuat constructor used when reading Havok physicals.
Browse files Browse the repository at this point in the history
  • Loading branch information
Deledrius committed Jul 9, 2012
1 parent d64b85f commit d08cb4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/PRP/Physics/plGenericPhysical.cpp
Expand Up @@ -403,7 +403,7 @@ void plGenericPhysical::IReadHKPhysical(hsStream* S, plResManager* mgr) {
float rad = S->readFloat();
hsVector3 axis;
axis.read(S);
fRot = hsQuat(axis.X, axis.Y, axis.Z, rad);
fRot = hsQuat(rad, axis);

unsigned int hMemberGroup, hReportGroup, hCollideGroup;
fMass = S->readFloat();
Expand Down

0 comments on commit d08cb4f

Please sign in to comment.