- change finalize method of VehicleWheel

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8493 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
nor..67 2011-10-22 02:58:39 +00:00
parent 09502cfa76
commit 502fd41ca8

View File

@ -150,7 +150,8 @@ extern "C" {
env->ThrowNew(newExc, "The native object does not exist.");
return;
}
delete(&vehicle->getWheelInfo(wheelIndex));
btWheelInfo m_wheelInfo[wheelIndex];
delete(&m_wheelInfo);
}
#ifdef __cplusplus
}