aboutsummaryrefslogtreecommitdiff
path: root/src/game/Creature.cpp
diff options
context:
space:
mode:
authorMeanMachine@MeanMachine-PC <none@none>2008-12-10 06:34:35 +0200
committerMeanMachine@MeanMachine-PC <none@none>2008-12-10 06:34:35 +0200
commitcc0838459a86e45ccdbaa4977e20f4233f1ff1c1 (patch)
tree04e80e4c678250c4d40e25d4f2e07f1886d06fe9 /src/game/Creature.cpp
parentb5d1418b0cdd38980ec1fec3af1ddf031c9cb9e5 (diff)
Featuring a rewritten waypoint movement with more options, optimised code and revamped ingame waypoint control. To convert entries from the old tables manually, please use the PHP script provided at http://www.trinitycore.org/forum/project.php?issueid=830
--HG-- branch : trunk
Diffstat (limited to 'src/game/Creature.cpp')
-rw-r--r--src/game/Creature.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/Creature.cpp b/src/game/Creature.cpp
index 80eba6fde98..4f8132fe404 100644
--- a/src/game/Creature.cpp
+++ b/src/game/Creature.cpp
@@ -2068,6 +2068,10 @@ bool Creature::LoadCreaturesAddon(bool reload)
if (cainfo->move_flags != 0)
SetUnitMovementFlags(cainfo->move_flags);
+ //Load Path
+ if (cainfo->path_id != 0)
+ m_path_id = cainfo->path_id;
+
if(cainfo->auras)
{
for (CreatureDataAddonAura const* cAura = cainfo->auras; cAura->spell_id; ++cAura)