Core/Build: Fix non-PCH builds

This commit is contained in:
click
2011-09-18 16:30:18 +02:00
parent 8ce80db6e6
commit 872c2d4d63
4 changed files with 4 additions and 1 deletions
@@ -1984,7 +1984,7 @@ void Creature::SaveRespawnTime()
} }
// this should not be called by petAI or // this should not be called by petAI or
bool Creature::canCreatureAttack(Unit const* pVictim, bool force) const bool Creature::canCreatureAttack(Unit const* pVictim, bool /*force*/) const
{ {
if (!pVictim->IsInMap(this)) if (!pVictim->IsInMap(this))
return false; return false;
+1
View File
@@ -21,6 +21,7 @@
#include "SharedDefines.h" #include "SharedDefines.h"
#include "Util.h" #include "Util.h"
#include "DBCStructure.h" #include "DBCStructure.h"
#include "Object.h"
class Unit; class Unit;
class Player; class Player;
@@ -20,6 +20,7 @@
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "Spell.h" #include "Spell.h"
#include "SpellAuraEffects.h" #include "SpellAuraEffects.h"
#include "GridNotifiers.h"
#include "icecrown_citadel.h" #include "icecrown_citadel.h"
enum Texts enum Texts
@@ -19,6 +19,7 @@
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "SpellAuras.h" #include "SpellAuras.h"
#include "GridNotifiers.h"
#include "icecrown_citadel.h" #include "icecrown_citadel.h"
// KNOWN BUGS: // KNOWN BUGS: