Merge remote-tracking branch 'origin/main' into dCinema

This commit is contained in:
Wincent
2025-04-18 14:49:18 +00:00
351 changed files with 175610 additions and 46883 deletions

View File

@@ -269,6 +269,7 @@ void MovementAIComponent::PullToPoint(const NiPoint3& point) {
void MovementAIComponent::SetPath(std::vector<PathWaypoint> path) {
if (path.empty()) return;
while (!m_CurrentPath.empty()) m_CurrentPath.pop();
std::for_each(path.rbegin(), path.rend() - 1, [this](const PathWaypoint& point) {
this->m_CurrentPath.push(point);
});