mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
navigation: setPathdestination now takes a replace bool to preserve the goal
also killed a few now extraneous clearfollow calls
This commit is contained in:
parent
c72c3068f8
commit
f84bf058c9
3 changed files with 6 additions and 9 deletions
|
|
@ -418,7 +418,7 @@ void GuiNavEditorCtrl::on3DMouseDown(const Gui3DMouseEvent & event)
|
|||
if (po->getAIController())
|
||||
{
|
||||
if (po->getAIController()->mControllerData)
|
||||
po->getAIController()->getNav()->setPathDestination(ri.point);
|
||||
po->getAIController()->getNav()->setPathDestination(ri.point,true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue