mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +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.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))
|
||||||
|
|
|
||||||
|
|
@ -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__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue