aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVincent-Michael <vincent_michael@gmx.de>2015-12-12 18:00:22 +0100
committerVincent-Michael <vincent_michael@gmx.de>2015-12-12 18:00:22 +0100
commit54424aff3051bdc2a05d44cbd56adf6f47b98229 (patch)
tree9681082878c7b0355dc3c86e9d18815bd0da77ac /src
parent47d54ce8594bec7ff01bf0d746bc7975924ee471 (diff)
Scripts/Pets: Fixed non pch build part 3 ...
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/Pet/pet_mage.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/server/scripts/Pet/pet_mage.cpp b/src/server/scripts/Pet/pet_mage.cpp
index 42f0caec974..14d2687c298 100644
--- a/src/server/scripts/Pet/pet_mage.cpp
+++ b/src/server/scripts/Pet/pet_mage.cpp
@@ -26,7 +26,9 @@
#include "Pet.h"
#include "PetAI.h"
#include "Cell.h"
+#include "CellImpl.h"
#include "GridNotifiers.h"
+#include "GridNotifiersImpl.h"
enum MageSpells
{
@@ -108,10 +110,10 @@ class npc_pet_mage_mirror_image : public CreatureScript
}
// Prioritize units with threat referenced to owner
if (highestThreat > 0.0f && highestThreatUnit)
- me->Attack(highestThreatUnit, false);
+ me->Attack(highestThreatUnit, false);
// If there is no such target, try to attack nearest hostile unit if such exists
else if (nearestPlayer)
- me->Attack(nearestPlayer, false);
+ me->Attack(nearestPlayer, false);
}
bool IsInThreatList(Unit* target)