aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormegamage <none@none>2009-03-20 14:05:14 -0600
committermegamage <none@none>2009-03-20 14:05:14 -0600
commit918c40f9674e60d9e966116c30ddac5d683f9516 (patch)
tree9a863af27bcb3283e6fdf6e4d9e3e15d79a5325f
parentdbd69bda613faed2cc30ba95de5c07235ae73653 (diff)
*Set homeposition for battleground spawned creatures. By Anubisss.
--HG-- branch : trunk
-rw-r--r--src/game/BattleGround.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/BattleGround.cpp b/src/game/BattleGround.cpp
index 8ef926b4aaf..e63bea531d9 100644
--- a/src/game/BattleGround.cpp
+++ b/src/game/BattleGround.cpp
@@ -1303,6 +1303,7 @@ Creature* BattleGround::AddCreature(uint32 entry, uint32 type, uint32 teamval, f
return NULL;
}
+ pCreature->SetHomePosition(x, y, z, o);
pCreature->AIM_Initialize();
//pCreature->SetDungeonDifficulty(0);