Core/Movement: correctly initialize orientation values when loading script waypoints
This commit is contained in:
1 parent
5a08b65cef
commit
4c670bce9a
1 file changed
+1
-1
@@ -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