mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 04:37:00 +00:00
[7592] Correct delay loading for creature waypoints.
Now it allows to assign more than cca 65s delay on waypoint. Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
parent
3e74e2160e
commit
66b9cf7829
2 changed files with 2 additions and 2 deletions
|
|
@ -101,7 +101,7 @@ void WaypointManager::Load()
|
|||
node.y = fields[1].GetFloat();
|
||||
node.z = fields[2].GetFloat();
|
||||
node.orientation = fields[3].GetFloat();
|
||||
node.delay = fields[6].GetUInt16();
|
||||
node.delay = fields[6].GetUInt32();
|
||||
|
||||
// prevent using invalid coordinates
|
||||
if(!MaNGOS::IsValidMapCoord(node.x, node.y, node.z, node.orientation))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue