Core/Movement: correctly initialize orientation values when loading script waypoints

This commit is contained in:
Ovahlord
2021-07-07 09:41:22 +02:00
parent 5a08b65cef
commit 4c670bce9a

View File

@@ -80,7 +80,7 @@ void SystemMgr::LoadScriptWaypoints()
WaypointPath& path = _waypointStore[entry];
path.Id = entry;
path.Nodes.emplace_back(id, x, y, z, 0.f, 0.f, waitTime);
path.Nodes.emplace_back(id, x, y, z, std::nullopt, 0.f, waitTime);
++count;
} while (result->NextRow());