[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:
ApoC 2009-03-31 23:05:58 +02:00
parent 3e74e2160e
commit 66b9cf7829
2 changed files with 2 additions and 2 deletions

View file

@ -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))