mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-06 17:08:23 +01:00
Core/Movement: correctly initialize orientation values when loading script waypoints
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user