mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 10:30:27 +00:00
refactor(Core): rename namespaces and macros to acore (#2454)
This commit is contained in:
@@ -19,8 +19,8 @@
|
||||
#include "Log.h"
|
||||
#include "Master.h"
|
||||
|
||||
#ifndef _TRINITY_CORE_CONFIG
|
||||
# define _TRINITY_CORE_CONFIG "worldserver.conf"
|
||||
#ifndef _ACORE_CORE_CONFIG
|
||||
# define _ACORE_CORE_CONFIG "worldserver.conf"
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
@@ -61,7 +61,7 @@ void usage(const char* prog)
|
||||
extern int main(int argc, char** argv)
|
||||
{
|
||||
///- Command line parsing to get the configuration file name
|
||||
char const* cfg_file = _TRINITY_CORE_CONFIG;
|
||||
char const* cfg_file = _ACORE_CORE_CONFIG;
|
||||
int c = 1;
|
||||
while (c < argc)
|
||||
{
|
||||
@@ -118,7 +118,7 @@ extern int main(int argc, char** argv)
|
||||
++c;
|
||||
}
|
||||
|
||||
std::string cfg_def_file=_TRINITY_CORE_CONFIG;
|
||||
std::string cfg_def_file=_ACORE_CORE_CONFIG;
|
||||
cfg_def_file += ".dist";
|
||||
|
||||
if (!sConfigMgr->LoadInitial(cfg_def_file.c_str())) {
|
||||
|
||||
Reference in New Issue
Block a user