diff options
Diffstat (limited to 'src/server/game/Scripting/ScriptSystem.cpp')
-rw-r--r-- | src/server/game/Scripting/ScriptSystem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Scripting/ScriptSystem.cpp b/src/server/game/Scripting/ScriptSystem.cpp index 33fbd62e244..5edfb46d2d9 100644 --- a/src/server/game/Scripting/ScriptSystem.cpp +++ b/src/server/game/Scripting/ScriptSystem.cpp @@ -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()); |