Core/Movement: Allow waypoints to use 0 as valid facing value (#26655)
(cherry picked from commit 4747515872775553de35cc3267e1ccd5e0076ca4)
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, waitTime);
|
||||
path.nodes.emplace_back(id, x, y, z, std::nullopt, waitTime);
|
||||
|
||||
++count;
|
||||
} while (result->NextRow());
|
||||
|
||||
Reference in New Issue
Block a user