diff --git a/src/server/collision/Models/GameObjectModel.cpp b/src/server/collision/Models/GameObjectModel.cpp index c40cb22a18c..dbdc0554e06 100644 --- a/src/server/collision/Models/GameObjectModel.cpp +++ b/src/server/collision/Models/GameObjectModel.cpp @@ -42,7 +42,9 @@ ModelList model_list; void LoadGameObjectModelList(std::string const& dataPath) { +#ifndef NO_CORE_FUNCS uint32 oldMSTime = getMSTime(); +#endif FILE* model_list_file = fopen((dataPath + "vmaps/" + VMAP::GAMEOBJECT_MODELS).c_str(), "rb"); if (!model_list_file) diff --git a/src/server/game/Scripting/MapScripts.cpp b/src/server/game/Scripting/MapScripts.cpp index 41a0a3599fd..f5c4375712c 100644 --- a/src/server/game/Scripting/MapScripts.cpp +++ b/src/server/game/Scripting/MapScripts.cpp @@ -18,6 +18,7 @@ #include "CellImpl.h" #include "GridNotifiers.h" +#include "GridNotifiersImpl.h" #include "GossipDef.h" #include "Map.h" #include "ObjectMgr.h"