aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraczman <none@none>2010-03-12 11:53:30 +0100
committerraczman <none@none>2010-03-12 11:53:30 +0100
commitb23a85e81001c8545677ffb08094a0445b9e87bc (patch)
treeaf92147150d34a942330c1906112f8be8ae3b74a
parent9f81a8ba5c4c35d9ed06a33d58d0f60d3df22b12 (diff)
Correct faction of Titan Relic in SOTA.
author: maxdestroyer --HG-- branch : trunk
-rw-r--r--src/game/BattleGroundSA.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/BattleGroundSA.cpp b/src/game/BattleGroundSA.cpp
index 7a257a31f9b..05ca6bbe60c 100644
--- a/src/game/BattleGroundSA.cpp
+++ b/src/game/BattleGroundSA.cpp
@@ -82,9 +82,6 @@ bool BattleGroundSA::ResetObjs()
return false;
}
- GetBGObject(BG_SA_TITAN_RELIC)->SetUInt32Value(GAMEOBJECT_FACTION, defF);
- GetBGObject(BG_SA_TITAN_RELIC)->Refresh();
-
//Cannons and demolishers - NPCs are spawned
//By capturing GYs.
for(uint8 i = 0; i < BG_SA_NPC_SPARKLIGHT; i++)
@@ -103,6 +100,9 @@ bool BattleGroundSA::ResetObjs()
GetBGObject(i)->SetUInt32Value(GAMEOBJECT_FACTION, defF);
}
+ GetBGObject(BG_SA_TITAN_RELIC)->SetUInt32Value(GAMEOBJECT_FACTION, atF);
+ GetBGObject(BG_SA_TITAN_RELIC)->Refresh();
+
for(uint8 i = 0; i <= 5; i++)
GateStatus[i] = BG_SA_GATE_OK;