aboutsummaryrefslogtreecommitdiff
path: root/src/game/Creature.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2008-11-21 19:45:49 -0600
committermegamage <none@none>2008-11-21 19:45:49 -0600
commitfa667cf4507e5635d597b878119ce20f2836cc8c (patch)
tree34a1b3a70db2d8ba86be680bb341f1e499b0d672 /src/game/Creature.cpp
parentb2ba78e57a7c1895d1bacf950a3705eedd01c256 (diff)
*Alterac Valley. By Bogie and Balrok. Note: some core contents are modified. Will fix them later. Some sql are disabled because of possible conflict with offical DB. Use them at your own risk.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Creature.cpp')
-rw-r--r--src/game/Creature.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Creature.cpp b/src/game/Creature.cpp
index 91eb04b07f5..24b4f4e141b 100644
--- a/src/game/Creature.cpp
+++ b/src/game/Creature.cpp
@@ -577,6 +577,7 @@ bool Creature::Create (uint32 guidlow, Map *map, uint32 Entry, uint32 team, cons
{
SetMapId(map->GetId());
SetInstanceId(map->GetInstanceId());
+ m_DBTableGuid = guidlow;
//oX = x; oY = y; dX = x; dY = y; m_moveTime = 0; m_startMove = 0;
const bool bResult = CreateFromProto(guidlow, Entry, team, data);
@@ -603,7 +604,6 @@ bool Creature::Create (uint32 guidlow, Map *map, uint32 Entry, uint32 team, cons
}
LoadCreaturesAddon();
}
-
return bResult;
}