Core/Movement: Allow waypoints to use 0 as valid facing value (#26655)

(cherry picked from commit 4747515872)
This commit is contained in:
Ovah
2022-04-16 18:21:04 +02:00
committed by Shauren
parent 522ccfbab5
commit 8501fb572a
6 changed files with 22 additions and 10 deletions

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, waitTime);
path.nodes.emplace_back(id, x, y, z, std::nullopt, waitTime);
++count;
} while (result->NextRow());