Change signature of handle_go_to to be more versatile

This commit is contained in:
Liru Færs
2020-01-05 15:39:35 -05:00
parent a02693e4dd
commit 1fbfc498bf
2 changed files with 4 additions and 7 deletions

View File

@@ -533,7 +533,7 @@ void LLToolPie::walkToClickedLocation()
mAutoPilotDestination->setDuration(3.f);
*/
handle_go_to();
handle_go_to(mPick.mPosGlobal);
}
// When we get object properties after left-clicking on an object
@@ -763,8 +763,7 @@ BOOL LLToolPie::handleMouseUp(S32 x, S32 y, MASK mask)
void LLToolPie::stopClickToWalk()
{
mPick.mPosGlobal = gAgent.getPositionGlobal();
handle_go_to();
handle_go_to(gAgent.getPositionGlobal());
/* Singu TODO: llhudeffectblob
if(mAutoPilotDestination)
{