mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-28 19:13:47 +00:00
expose a getThrottle for vehicles. save some calcs in AIWheeledVehicleControllerData
deletion cleanups
This commit is contained in:
parent
2d5e8c1560
commit
78a26b0108
6 changed files with 22 additions and 38 deletions
|
|
@ -1643,7 +1643,7 @@ Player::Player()
|
|||
mLastAbsoluteYaw = 0.0f;
|
||||
mLastAbsolutePitch = 0.0f;
|
||||
mLastAbsoluteRoll = 0.0f;
|
||||
|
||||
mAIController = NULL;
|
||||
afx_init();
|
||||
}
|
||||
|
||||
|
|
@ -1654,6 +1654,7 @@ Player::~Player()
|
|||
delete mShapeFPInstance[i];
|
||||
mShapeFPInstance[i] = 0;
|
||||
}
|
||||
if (mAIController) mAIController->deleteObject();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue