aboutsummaryrefslogtreecommitdiff
path: root/src/game/CombatAI.cpp
diff options
context:
space:
mode:
authorSpp <none@none>2010-04-29 23:12:16 +0200
committerSpp <none@none>2010-04-29 23:12:16 +0200
commitcb0cb962831a2b0c62b0a67b750569ca3049327e (patch)
treef5638fb8695101002f77106da4264bbeaab46938 /src/game/CombatAI.cpp
parent35af94d4b57d234bc4d6e3c8ab67acb201500bae (diff)
Warning Fixes
Code Style cleanup Fix linux compile --HG-- branch : trunk
Diffstat (limited to 'src/game/CombatAI.cpp')
-rw-r--r--src/game/CombatAI.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/game/CombatAI.cpp b/src/game/CombatAI.cpp
index e9babeba414..56d1e6d6a3d 100644
--- a/src/game/CombatAI.cpp
+++ b/src/game/CombatAI.cpp
@@ -20,6 +20,7 @@
#include "CombatAI.h"
#include "SpellMgr.h"
+#include "Vehicle.h"
int AggressorAI::Permissible(const Creature *creature)
{
@@ -292,13 +293,13 @@ void AOEAI::UpdateAI(const uint32 /*diff*/)
//////////////
//NOTE: VehicleAI::UpdateAI runs even while the vehicle is mounted
-void VehicleAI::UpdateAI(const uint32 diff)
+void VehicleAI::UpdateAI(const uint32 /*diff*/)
{
}
void VehicleAI::Reset()
{
- m_vehicle->Reset();
+ m_vehicle->Reset();
}
void VehicleAI::OnCharmed(bool apply)