From c5d3dd90bea3889ef5fcd33c9ef0d59d7c544f8a Mon Sep 17 00:00:00 2001 From: Shauren Date: Thu, 18 May 2017 23:52:58 +0200 Subject: Core/Game: Include cleanup * Mostly aimed at removing Log/DatabaseEnv includes from other headers * Fix most packet headers including other packet headers - moved common structures such as ItemInstance to their own files * Moved SAI function definitions to source files (massive or requiring many different dependencies) --- src/server/game/Maps/MapScripts.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/server/game/Maps/MapScripts.cpp') diff --git a/src/server/game/Maps/MapScripts.cpp b/src/server/game/Maps/MapScripts.cpp index c6eb2068165..cc82334faa9 100644 --- a/src/server/game/Maps/MapScripts.cpp +++ b/src/server/game/Maps/MapScripts.cpp @@ -16,14 +16,15 @@ * with this program. If not, see . */ +#include "Map.h" #include "CellImpl.h" -#include "GridNotifiers.h" #include "GossipDef.h" -#include "Map.h" +#include "GridNotifiers.h" +#include "Item.h" +#include "Log.h" #include "MapManager.h" #include "ObjectMgr.h" #include "Pet.h" -#include "Item.h" #include "ScriptedCreature.h" #include "ScriptMgr.h" #include "Transport.h" @@ -887,7 +888,7 @@ void Map::ScriptsProcess() break; case SCRIPT_COMMAND_MOVEMENT: - // Source must be Creature. + // Source must be Creature. if (Creature* cSource = _GetScriptCreature(source, true, step.script)) { if (!cSource->IsAlive()) -- cgit v1.2.3