diff options
| author | Spp <none@none> | 2010-05-01 22:25:14 +0200 |
|---|---|---|
| committer | Spp <none@none> | 2010-05-01 22:25:14 +0200 |
| commit | e107730ffbbe92f2dc98c990478e527030888ff4 (patch) | |
| tree | ea7e9ddc48bd1277efe0c6b8cfb15b3616151e6e /src/scripts/northrend | |
| parent | dd9485993b32f08c67bea5a73c46579df19ec0cc (diff) | |
Fix more warnings.
--HG--
branch : trunk
Diffstat (limited to 'src/scripts/northrend')
| -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 |
4 files changed, 7 insertions, 9 deletions
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()); |
