aboutsummaryrefslogtreecommitdiff
path: root/src/game/Creature.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/game/Creature.cpp
parentfdd8d2f3cc7108043f6bad036b994770f904866f (diff)
Remove LOTS of compile warnings
--HG-- branch : trunk
Diffstat (limited to 'src/game/Creature.cpp')
-rw-r--r--src/game/Creature.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/Creature.cpp b/src/game/Creature.cpp
index 66400709036..6ae8a97504c 100644
--- a/src/game/Creature.cpp
+++ b/src/game/Creature.cpp
@@ -263,7 +263,7 @@ void Creature::RemoveCorpse()
/**
* change the entry of creature until respawn
*/
-bool Creature::InitEntry(uint32 Entry, uint32 team, const CreatureData *data)
+bool Creature::InitEntry(uint32 Entry, uint32 /*team*/, const CreatureData *data)
{
CreatureInfo const *normalInfo = objmgr.GetCreatureTemplate(Entry);
if (!normalInfo)
@@ -936,7 +936,7 @@ bool Creature::isCanTrainingAndResetTalentsOf(Player* pPlayer) const
&& pPlayer->getClass() == GetCreatureInfo()->trainer_class;
}
-void Creature::AI_SendMoveToPacket(float x, float y, float z, uint32 time, uint32 MovementFlags, uint8 type)
+void Creature::AI_SendMoveToPacket(float x, float y, float z, uint32 time, uint32 /*MovementFlags*/, uint8 /*type*/)
{
/* uint32 timeElap = getMSTime();
if ((timeElap - m_startMove) < m_moveTime)
@@ -1356,7 +1356,7 @@ void Creature::DeleteFromDB()
WorldDatabase.CommitTransaction();
}
-bool Creature::canSeeOrDetect(Unit const* u, bool detect, bool inVisibleList, bool is3dDistance) const
+bool Creature::canSeeOrDetect(Unit const* u, bool detect, bool /*inVisibleList*/, bool /*is3dDistance*/) const
{
// not in world
if (!IsInWorld() || !u->IsInWorld())