- change finalize method of VehicleWheel

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8493 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 13 years ago
parent 09502cfa76
commit 502fd41ca8
  1. 3
      engine/src/bullet/native/com_jme3_bullet_objects_VehicleWheel.cpp

@ -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
}

Loading…
Cancel
Save