expose a getThrottle for vehicles. save some calcs in AIWheeledVehicleControllerData

deletion cleanups
This commit is contained in:
AzaezelX 2025-04-18 11:00:13 -05:00
parent 2d5e8c1560
commit 78a26b0108
6 changed files with 22 additions and 38 deletions

View file

@ -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();
}