From 83e3062327e14229aeab6ba100a064b1cf50cfce Mon Sep 17 00:00:00 2001 From: Amorilia <amorilia@users.sourceforge.net> Date: Sat, 5 Apr 2008 11:24:13 +0000 Subject: [PATCH] niflib: typo fixed --- src/obj/bhkRigidBody.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/obj/bhkRigidBody.cpp b/src/obj/bhkRigidBody.cpp index 358ec06a..65b44d2c 100644 --- a/src/obj/bhkRigidBody.cpp +++ b/src/obj/bhkRigidBody.cpp @@ -366,7 +366,7 @@ array<12,float> bhkRigidBody::GetInertia() const { result[9] = inertia.m32; result[10] = inertia.m33; result[11] = inertia.m34; - return inertia; + return result; } void bhkRigidBody::SetInertia( const array<12,float>& value ) { -- GitLab