Core/Scripts: Fixed build of boss_* scripts

This commit is contained in:
Shauren committed 2014-09-15 22:07:11 +02:00
1 parent 6ce0a3107d
commit a3d8f1d879
88 files changed
+453 -508

No files matched your search

@@ -104,7 +104,7 @@ public:
uint32 uiImpalingChargeTimer;
uint32 uiStompTimer;
uint32 uiTransformationTimer;
std::list<uint64> impaledList;
GuidList impaledList;
uint8 shareTheLove;
CombatPhase Phase;
@@ -247,10 +247,10 @@ public:
}
// 5 UNIQUE party members
void CheckAchievement(uint64 guid)
void CheckAchievement(ObjectGuid guid)
{
bool playerExists = false;
for (std::list<uint64>::iterator itr = impaledList.begin(); itr != impaledList.end(); ++itr)
for (GuidList::iterator itr = impaledList.begin(); itr != impaledList.end(); ++itr)
if (guid != *itr)
playerExists = true;
@@ -103,7 +103,7 @@ public:
uint8 uiPhase;
std::set<uint64> lWrappedPlayers;
GuidSet lWrappedPlayers;
SummonList lSummons;
InstanceScript* instance;
@@ -205,7 +205,7 @@ public:
lWrappedPlayers.insert(guid);
}
bool WasWrapped(uint64 guid)
bool WasWrapped(ObjectGuid guid)
{
return lWrappedPlayers.count(guid) != 0;
}