void MovePathManager::calcPath(void) { if(queueFront) { //------------------------------ // Grab the next in the queue... PathQueueRecPtr curQRec = queueFront; remove(queueFront); //-------------------------------------------------- // If the mover is no longer around, don't bother... MechWarriorPtr pilot = curQRec->pilot; pilot->setMovePathRequest(nullptr); MoverPtr mover = pilot->getVehicle(); if(!mover) return; /*int32_t err = */pilot->calcMovePath(curQRec->selectionIndex, curQRec->moveParams); } }