aboutsummaryrefslogtreecommitdiff
path: root/src/scripts/kalimdor/silithus.cpp
diff options
context:
space:
mode:
authorSpp <none@none>2010-04-19 09:26:37 +0200
committerSpp <none@none>2010-04-19 09:26:37 +0200
commit74dd02d024007c3a09219177fabfe9010b1bce63 (patch)
tree041286f1a0a20c9714199b03c60808d3b7291e48 /src/scripts/kalimdor/silithus.cpp
parentfdd8d2f3cc7108043f6bad036b994770f904866f (diff)
Remove LOTS of compile warnings
--HG-- branch : trunk
Diffstat (limited to 'src/scripts/kalimdor/silithus.cpp')
-rw-r--r--src/scripts/kalimdor/silithus.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/scripts/kalimdor/silithus.cpp b/src/scripts/kalimdor/silithus.cpp
index 089dc3ed849..d7495b4187e 100644
--- a/src/scripts/kalimdor/silithus.cpp
+++ b/src/scripts/kalimdor/silithus.cpp
@@ -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)))