diff options
Diffstat (limited to 'src/scripts')
| -rw-r--r-- | src/scripts/eastern_kingdoms/western_plaguelands.cpp | 4 | ||||
| -rw-r--r-- | src/scripts/kalimdor/desolace.cpp | 4 | ||||
| -rw-r--r-- | src/scripts/northrend/grizzly_hills.cpp | 2 | ||||
| -rw-r--r-- | src/scripts/northrend/naxxramas/boss_grobbulus.cpp | 2 | ||||
| -rw-r--r-- | src/scripts/northrend/sholazar_basin.cpp | 4 | ||||
| -rw-r--r-- | src/scripts/northrend/storm_peaks.cpp | 8 | ||||
| -rw-r--r-- | src/scripts/outland/blades_edge_mountains.cpp | 2 | ||||
| -rw-r--r-- | src/scripts/world/item_scripts.cpp | 2 | ||||
| -rw-r--r-- | src/scripts/world/npcs_special.cpp | 2 |
9 files changed, 14 insertions, 16 deletions
diff --git a/src/scripts/eastern_kingdoms/western_plaguelands.cpp b/src/scripts/eastern_kingdoms/western_plaguelands.cpp index e06274198c6..778bcea0b1e 100644 --- a/src/scripts/eastern_kingdoms/western_plaguelands.cpp +++ b/src/scripts/eastern_kingdoms/western_plaguelands.cpp @@ -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) diff --git a/src/scripts/kalimdor/desolace.cpp b/src/scripts/kalimdor/desolace.cpp index 2e1d951c3fe..6b3ec8071dd 100644 --- a/src/scripts/kalimdor/desolace.cpp +++ b/src/scripts/kalimdor/desolace.cpp @@ -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) diff --git a/src/scripts/northrend/grizzly_hills.cpp b/src/scripts/northrend/grizzly_hills.cpp index c5ccc5bb846..4b6d65a9764 100644 --- a/src/scripts/northrend/grizzly_hills.cpp +++ b/src/scripts/northrend/grizzly_hills.cpp @@ -564,7 +564,7 @@ struct npc_wounded_skirmisherAI : public ScriptedAI } } - void UpdateAI(const uint32 diff) + void UpdateAI(const uint32 /*diff*/) { if (!UpdateVictim()) return; diff --git a/src/scripts/northrend/naxxramas/boss_grobbulus.cpp b/src/scripts/northrend/naxxramas/boss_grobbulus.cpp index e1a1cbb7786..7df01e18483 100644 --- a/src/scripts/northrend/naxxramas/boss_grobbulus.cpp +++ b/src/scripts/northrend/naxxramas/boss_grobbulus.cpp @@ -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); diff --git a/src/scripts/northrend/sholazar_basin.cpp b/src/scripts/northrend/sholazar_basin.cpp index f81a6004fde..b5df8998b4a 100644 --- a/src/scripts/northrend/sholazar_basin.cpp +++ b/src/scripts/northrend/sholazar_basin.cpp @@ -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) diff --git a/src/scripts/northrend/storm_peaks.cpp b/src/scripts/northrend/storm_peaks.cpp index 08e5ca7c2d4..9275e24bd2f 100644 --- a/src/scripts/northrend/storm_peaks.cpp +++ b/src/scripts/northrend/storm_peaks.cpp @@ -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()); diff --git a/src/scripts/outland/blades_edge_mountains.cpp b/src/scripts/outland/blades_edge_mountains.cpp index e675b1b1a05..231a27ccc9a 100644 --- a/src/scripts/outland/blades_edge_mountains.cpp +++ b/src/scripts/outland/blades_edge_mountains.cpp @@ -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) diff --git a/src/scripts/world/item_scripts.cpp b/src/scripts/world/item_scripts.cpp index d87a21a8c95..dbf5f3c1a84 100644 --- a/src/scripts/world/item_scripts.cpp +++ b/src/scripts/world/item_scripts.cpp @@ -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) { diff --git a/src/scripts/world/npcs_special.cpp b/src/scripts/world/npcs_special.cpp index bc006f0efd7..d3efe0a48c3 100644 --- a/src/scripts/world/npcs_special.cpp +++ b/src/scripts/world/npcs_special.cpp @@ -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) { |
