Adds handling to the path manager so it can deal with both looping and non-looping paths

This commit is contained in:
Areloch 2020-11-02 23:26:50 -06:00
parent 036c7c2c75
commit 0a962342ac
3 changed files with 128 additions and 12 deletions

View file

@ -248,8 +248,7 @@ void Path::updatePath()
}
}
// DMMTODO: Looping paths.
gServerPathManager->updatePath(mPathIndex, positions, rotations, times, smoothingTypes);
gServerPathManager->updatePath(mPathIndex, positions, rotations, times, smoothingTypes, mIsLooping);
}
void Path::addObject(SimObject* obj)
@ -543,4 +542,4 @@ void Marker::unpackUpdate(NetConnection* con, BitStream* stream)
stream->readAffineTransform(&otow);
setTransform(otow);
}
}