behavioural change: feeding an AInfo an object with a 0 radius causes the class to fill in radius from that objects bounds box

also, vehicle direct hooks
This commit is contained in:
AzaezelX 2025-04-18 11:36:27 -05:00
parent 78a26b0108
commit 2d0bcbcf8d
4 changed files with 32 additions and 3 deletions

View file

@ -2264,7 +2264,7 @@ bool Player::setAIController(SimObjectId controller)
{
if (Sim::findObject(controller, mAIController) && mAIController->mControllerData)
{
mAIController->setAIInfo(this, mAIController->mControllerData->mMoveTolerance);
mAIController->setAIInfo(this);
return true;
}
Con::errorf("unable to find AIController : %i", controller);