From 918c40f9674e60d9e966116c30ddac5d683f9516 Mon Sep 17 00:00:00 2001 From: megamage Date: Fri, 20 Mar 2009 14:05:14 -0600 Subject: [PATCH 1/2] *Set homeposition for battleground spawned creatures. By Anubisss. --HG-- branch : trunk --- src/game/BattleGround.cpp | 1 + 1 file changed, 1 insertion(+) 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); From f5116e0e7864d593930d1404d5b4d9316553ee42 Mon Sep 17 00:00:00 2001 From: raczman Date: Fri, 20 Mar 2009 22:55:26 +0100 Subject: [PATCH 2/2] Hopefully fixed annoying bug with more than one make jobs on linux. --HG-- branch : trunk --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 27bbaa17674..352f5aa450d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -30,6 +30,7 @@ ADD_CUSTOM_TARGET("revision.h" ALL COMMAND "${Trinity_BINARY_DIR}/genrev" ${Trinity_SOURCE_DIR} WORKING_DIRECTORY "${Trinity_SOURCE_DIR}/src/shared" + DEPENDS genrev )