Oops, not for SingleCore_AC

This commit is contained in:
Conan
2017-10-25 16:35:50 +02:00
parent c6ddcb7597
commit 20c1073a98

View File

@@ -166,9 +166,9 @@ public:
{ {
if (!reload) { if (!reload) {
std::string conf_path = _CONF_DIR; std::string conf_path = _CONF_DIR;
std::string cfg_file = conf_path + "Settings/mod_learnspells.conf"; std::string cfg_file = conf_path + "/mod_learnspells.conf";
#ifdef WIN32 #ifdef WIN32
cfg_file = "Settings/mod_learnspells.conf"; cfg_file = "mod_learnspells.conf";
#endif #endif
std::string cfg_def_file = cfg_file + ".dist"; std::string cfg_def_file = cfg_file + ".dist";
sConfigMgr->LoadMore(cfg_def_file.c_str()); sConfigMgr->LoadMore(cfg_def_file.c_str());