mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-16 09:04:38 +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
|
|
@ -125,7 +125,14 @@ public:
|
|||
mCover = NULL;
|
||||
mMovement.mMoveState = ModeStop;
|
||||
};
|
||||
|
||||
~AIController()
|
||||
{
|
||||
SAFE_DELETE(mAIInfo);
|
||||
SAFE_DELETE(mNav);
|
||||
clearGoal();
|
||||
clearAim();
|
||||
clearCover();
|
||||
}
|
||||
DECLARE_CONOBJECT(AIController);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue