aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRat <none@none>2010-01-28 16:56:01 +0100
committerRat <none@none>2010-01-28 16:56:01 +0100
commitcb05b018542188b207ae4876e630f6fc1875145f (patch)
treea8eef85ec7d3fc8193cef6752f50756ee50beb52 /src
parent38209db46e0ce5bcb990061e0af3aa2e372529aa (diff)
*fix script config, closes issue #521
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/ScriptMgr.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/ScriptMgr.h b/src/game/ScriptMgr.h
index 9692e8a4222..f9058ae8996 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;