aboutsummaryrefslogtreecommitdiff
path: root/src/game/CombatAI.cpp
diff options
context:
space:
mode:
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)