[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.y = fields[1].GetFloat();
node.z = fields[2].GetFloat(); node.z = fields[2].GetFloat();
node.orientation = fields[3].GetFloat(); node.orientation = fields[3].GetFloat();
node.delay = fields[6].GetUInt16(); node.delay = fields[6].GetUInt32();
// prevent using invalid coordinates // prevent using invalid coordinates
if(!MaNGOS::IsValidMapCoord(node.x, node.y, node.z, node.orientation)) if(!MaNGOS::IsValidMapCoord(node.x, node.y, node.z, node.orientation))

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "7591" #define REVISION_NR "7592"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__