From 66b9cf782952cc9a49d1abfd5880d5e3bedc164a Mon Sep 17 00:00:00 2001 From: ApoC Date: Tue, 31 Mar 2009 23:05:58 +0200 Subject: [PATCH] [7592] Correct delay loading for creature waypoints. Now it allows to assign more than cca 65s delay on waypoint. Signed-off-by: ApoC --- src/game/WaypointManager.cpp | 2 +- src/shared/revision_nr.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/WaypointManager.cpp b/src/game/WaypointManager.cpp index 469a837cb..5cea9ed93 100644 --- a/src/game/WaypointManager.cpp +++ b/src/game/WaypointManager.cpp @@ -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)) diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 100378932..2f7a0fd1a 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "7591" + #define REVISION_NR "7592" #endif // __REVISION_NR_H__