Remove LOTS of compile warnings
--HG-- branch : trunk
This commit is contained in:
@@ -54,7 +54,7 @@ bool GossipHello_npc_highlord_demitrian(Player* pPlayer, Creature* pCreature)
|
||||
return true;
|
||||
}
|
||||
|
||||
bool GossipSelect_npc_highlord_demitrian(Player* pPlayer, Creature* pCreature, uint32 uiSender, uint32 uiAction)
|
||||
bool GossipSelect_npc_highlord_demitrian(Player* pPlayer, Creature* pCreature, uint32 /*uiSender*/, uint32 uiAction)
|
||||
{
|
||||
switch (uiAction)
|
||||
{
|
||||
@@ -138,7 +138,7 @@ bool GossipHello_npcs_rutgar_and_frankal(Player* pPlayer, Creature* pCreature)
|
||||
return true;
|
||||
}
|
||||
|
||||
bool GossipSelect_npcs_rutgar_and_frankal(Player* pPlayer, Creature* pCreature, uint32 uiSender, uint32 uiAction)
|
||||
bool GossipSelect_npcs_rutgar_and_frankal(Player* pPlayer, Creature* pCreature, uint32 /*uiSender*/, uint32 uiAction)
|
||||
{
|
||||
switch (uiAction)
|
||||
{
|
||||
@@ -793,13 +793,13 @@ struct mob_qiraj_war_spawnAI : public ScriptedAI
|
||||
hasTarget = false;
|
||||
}
|
||||
|
||||
void EnterCombat(Unit* who) {}
|
||||
void EnterCombat(Unit* /*who*/) {}
|
||||
void JustDied(Unit* slayer);
|
||||
|
||||
void UpdateAI(const uint32 diff)
|
||||
{
|
||||
Unit *pTarget;
|
||||
Player* plr = me->GetPlayer(PlayerGUID);
|
||||
Unit *pTarget = NULL;
|
||||
//Player* plr = me->GetPlayer(PlayerGUID);
|
||||
|
||||
if (!Timers)
|
||||
{
|
||||
@@ -912,12 +912,12 @@ struct npc_anachronos_quest_triggerAI : public ScriptedAI
|
||||
|
||||
void SummonNextWave()
|
||||
{
|
||||
uint8 count = WavesInfo[WaveCount].SpawnCount;
|
||||
//uint8 count = WavesInfo[WaveCount].SpawnCount;
|
||||
uint8 locIndex = WavesInfo[WaveCount].UsedSpawnPoint;
|
||||
srand(time(NULL));//initializing random seed
|
||||
uint8 KaldoreiSoldierCount = 0;
|
||||
uint8 AnubisathConquerorCount = 0;
|
||||
uint8 QirajiWaspCount = 0;
|
||||
//uint8 KaldoreiSoldierCount = 0;
|
||||
//uint8 AnubisathConquerorCount = 0;
|
||||
//uint8 QirajiWaspCount = 0;
|
||||
for (uint8 i = 0; i < 67; ++i)
|
||||
{
|
||||
Creature* Spawn = NULL;
|
||||
@@ -1017,7 +1017,7 @@ struct npc_anachronos_quest_triggerAI : public ScriptedAI
|
||||
EnterEvadeMode();
|
||||
};
|
||||
};
|
||||
void mob_qiraj_war_spawnAI::JustDied(Unit* slayer)
|
||||
void mob_qiraj_war_spawnAI::JustDied(Unit* /*slayer*/)
|
||||
{
|
||||
me->RemoveCorpse();
|
||||
if (Creature* Mob = (Unit::GetCreature(*me, MobGUID)))
|
||||
|
||||
Reference in New Issue
Block a user