Eluna fix folder path and add config option possibility for script folder path (default 'lua_scripts')

This commit is contained in:
Rochet2
2014-04-25 11:25:15 +03:00
committed by Foereaper
parent cdaf38b737
commit 0fd4fbd945
2 changed files with 14 additions and 4 deletions

View File

@@ -68,12 +68,14 @@ typedef std::set<std::string> ScriptPaths;
#ifdef MANGOS
#undef sWorld
#undef sMapMgr
#undef sConfigMgr
#undef sGuildMgr
#undef sObjectMgr
#undef sAccountMgr
#undef sObjectAccessor
#define sWorld (&MaNGOS::Singleton<World>::Instance())
#define sMapMgr (&MapManager::Instance())
#define SConfigMgr (&MaNGOS::Singleton<Config>::Instance())
#define sGuildMgr (&MaNGOS::Singleton<GuildMgr>::Instance())
#define sObjectMgr (&MaNGOS::Singleton<ObjectMgr>::Instance())
#define sAccountMgr (&MaNGOS::Singleton<AccountMgr>::Instance())