Call llStopMoveToTarget() to pause movelock when it's actually needed

meow-7.2.2
PanteraPolnocy 2013-08-22 08:55:38 +02:00
parent 661efd7d29
commit ea13b97e94
1 changed files with 5 additions and 1 deletions

View File

@ -220,7 +220,11 @@
else if (cmd == "llMoveToTarget")
{
llStopMoveToTarget(); // Pause movelock for now, if present
// Pause movelock for now, if present
if(useMoveLock)
{
llStopMoveToTarget();
}
// Get parameters
string params = "<" + llList2String(commandList,1) + ">";
mttVector=(vector)params;