Fix more warnings.
--HG-- branch : trunk
This commit is contained in:
1 parent
dd9485993b
commit
e107730ffb
22 files changed
+61
-64
No files matched your search
@@ -326,9 +326,9 @@ struct npc_anchorite_truuenAI : public npc_escortAI
|
||||
}
|
||||
}
|
||||
|
||||
void EnterCombat(Unit* pWho){}
|
||||
void EnterCombat(Unit* /*pWho*/){}
|
||||
|
||||
void JustDied(Unit* pKiller)
|
||||
void JustDied(Unit* /*pKiller*/)
|
||||
{
|
||||
Player* pPlayer = GetPlayerForEscort();
|
||||
if (pPlayer)
|
||||
|
||||
@@ -195,11 +195,11 @@ struct npc_dalindaAI : public npc_escortAI
|
||||
}
|
||||
}
|
||||
|
||||
void EnterCombat(Unit* pWho) { }
|
||||
void EnterCombat(Unit* /*pWho*/) { }
|
||||
|
||||
void Reset() {}
|
||||
|
||||
void JustDied(Unit* pKiller)
|
||||
void JustDied(Unit* /*pKiller*/)
|
||||
{
|
||||
Player* pPlayer = GetPlayerForEscort();
|
||||
if (pPlayer)
|
||||
|
||||
@@ -564,7 +564,7 @@ struct npc_wounded_skirmisherAI : public ScriptedAI
|
||||
}
|
||||
}
|
||||
|
||||
void UpdateAI(const uint32 diff)
|
||||
void UpdateAI(const uint32 /*diff*/)
|
||||
{
|
||||
if (!UpdateVictim())
|
||||
return;
|
||||
|
||||
@@ -50,7 +50,7 @@ struct boss_grobbulusAI : public BossAI
|
||||
|
||||
void SpellHitTarget(Unit *pTarget, const SpellEntry *spell)
|
||||
{
|
||||
if (spell->Id == SPELL_SLIME_SPRAY)
|
||||
if (spell->Id == uint32(SPELL_SLIME_SPRAY))
|
||||
{
|
||||
if (TempSummon *slime = me->SummonCreature(MOB_FALLOUT_SLIME, pTarget->GetPositionX(), pTarget->GetPositionY(), pTarget->GetPositionZ(), 0, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 0))
|
||||
DoZoneInCombat(slime);
|
||||
|
||||
@@ -366,11 +366,9 @@ struct npc_engineer_heliceAI : public npc_escortAI
|
||||
{
|
||||
m_uiChatTimer = 4000;
|
||||
}
|
||||
|
||||
void JustDied(Unit* pKiller)
|
||||
void JustDied(Unit* /*pKiller*/)
|
||||
{
|
||||
Player* pPlayer = GetPlayerForEscort();
|
||||
|
||||
if (HasEscortState(STATE_ESCORT_ESCORTING))
|
||||
{
|
||||
if (pPlayer)
|
||||
|
||||
@@ -379,11 +379,11 @@ struct npc_injured_goblinAI : public npc_escortAI
|
||||
}
|
||||
}
|
||||
|
||||
void EnterCombat(Unit* pWho) {}
|
||||
void EnterCombat(Unit* /*pWho*/) {}
|
||||
|
||||
void Reset() {}
|
||||
|
||||
void JustDied(Unit* pKiller)
|
||||
void JustDied(Unit* /*pKiller*/)
|
||||
{
|
||||
Player* pPlayer = GetPlayerForEscort();
|
||||
if (HasEscortState(STATE_ESCORT_ESCORTING) && pPlayer)
|
||||
@@ -419,7 +419,7 @@ bool GossipHello_npc_injured_goblin(Player* pPlayer, Creature* pCreature)
|
||||
return true;
|
||||
}
|
||||
|
||||
bool QuestAccept_npc_injured_goblin(Player* pPlayer, Creature* pCreature, Quest const *quest)
|
||||
bool QuestAccept_npc_injured_goblin(Player* /*pPlayer*/, Creature* pCreature, Quest const *quest)
|
||||
{
|
||||
if (quest->GetQuestId() == QUEST_BITTER_DEPARTURE)
|
||||
DoScriptText(SAY_QUEST_ACCEPT, pCreature);
|
||||
@@ -427,7 +427,7 @@ bool QuestAccept_npc_injured_goblin(Player* pPlayer, Creature* pCreature, Quest
|
||||
return false;
|
||||
}
|
||||
|
||||
bool GossipSelect_npc_injured_goblin(Player* pPlayer, Creature* pCreature, uint32 uiSender, uint32 uiAction)
|
||||
bool GossipSelect_npc_injured_goblin(Player* pPlayer, Creature* pCreature, uint32 /*uiSender*/, uint32 uiAction)
|
||||
{
|
||||
npc_escortAI* pEscortAI = CAST_AI(npc_injured_goblinAI, pCreature->AI());
|
||||
|
||||
|
||||
@@ -409,7 +409,7 @@ struct npc_bloodmaul_brutebaneAI : public ScriptedAI
|
||||
OgreGUID = 0;
|
||||
}
|
||||
|
||||
void UpdateAI(const uint32 uiDiff) {}
|
||||
void UpdateAI(const uint32 /*uiDiff*/) {}
|
||||
};
|
||||
|
||||
CreatureAI* GetAI_npc_bloodmaul_brutebane(Creature* pCreature)
|
||||
|
||||
@@ -393,7 +393,7 @@ enum TheEmissary
|
||||
NPC_LEVIROTH = 26452
|
||||
};
|
||||
|
||||
bool ItemUse_item_Trident_of_Nazjan(Player* pPlayer, Item* pItem, const SpellCastTargets &pTargets)
|
||||
bool ItemUse_item_Trident_of_Nazjan(Player* pPlayer, Item* pItem, const SpellCastTargets & /*pTargets*/)
|
||||
{
|
||||
if (pPlayer->GetQuestStatus(QUEST_THE_EMISSARY) == QUEST_STATUS_INCOMPLETE)
|
||||
{
|
||||
|
||||
@@ -2337,7 +2337,7 @@ bool GossipHello_npc_tabard_vendor(Player* pPlayer, Creature* pCreature)
|
||||
return true;
|
||||
}
|
||||
|
||||
bool GossipSelect_npc_tabard_vendor(Player* pPlayer, Creature* pCreature, uint32 uiSender, uint32 uiAction)
|
||||
bool GossipSelect_npc_tabard_vendor(Player* pPlayer, Creature* pCreature, uint32 /*uiSender*/, uint32 uiAction)
|
||||
{
|
||||
switch(uiAction)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user