Core/Movement: Allow waypoints to use 0 as valid facing value

Port From (https://github.com/TrinityCore/TrinityCore/commit/8501fb572a38b7d278c6e37d7b32164c63771550)
This commit is contained in:
hondacrx
2022-06-15 18:12:42 -04:00
parent 0b1ce0fa05
commit ed85b3ae55
4 changed files with 15 additions and 9 deletions
+1 -1
View File
@@ -246,7 +246,7 @@ namespace Game.Scripting
WaypointPath path = _waypointStore[entry];
path.id = entry;
path.nodes.Add(new WaypointNode(id, x, y, z, 0.0f, waitTime));
path.nodes.Add(new WaypointNode(id, x, y, z, null, waitTime));
++count;
}