From cb05b018542188b207ae4876e630f6fc1875145f Mon Sep 17 00:00:00 2001 From: Rat Date: Thu, 28 Jan 2010 16:56:01 +0100 Subject: [PATCH] *fix script config, closes issue #521 --HG-- branch : trunk --- src/game/ScriptMgr.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/game/ScriptMgr.h b/src/game/ScriptMgr.h index 9692e8a422..f9058ae899 100644 --- a/src/game/ScriptMgr.h +++ b/src/game/ScriptMgr.h @@ -11,9 +11,10 @@ #include "Common.h" #include "Platform/CompilerDefs.h" #include "DBCStructure.h" +#include "Config/ConfigEnv.h" #ifndef _TRINITY_SCRIPT_CONFIG -# define _TRINITY_SCRIPT_CONFIG "trinitycore.conf" +# define _TRINITY_SCRIPT_CONFIG sConfig.GetFilename().c_str() #endif _TRINITY_SCRIPT_CONFIG class Player;