Correct faction of Titan Relic in SOTA.

author: maxdestroyer

--HG--
branch : trunk
This commit is contained in:
raczman
2010-03-12 11:53:30 +01:00
parent 9f81a8ba5c
commit b23a85e810

View File

@@ -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;