mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
[10082] Drop now unused dotconfpp lib code.
This commit is contained in:
parent
41d178ca7b
commit
1eed65d5ac
29 changed files with 30 additions and 1237 deletions
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
#include "Common.h"
|
||||
#include "Database/DatabaseEnv.h"
|
||||
#include "Config/ConfigEnv.h"
|
||||
#include "Config/Config.h"
|
||||
#include "SystemConfig.h"
|
||||
#include "Log.h"
|
||||
#include "Opcodes.h"
|
||||
|
|
@ -402,9 +402,9 @@ Weather* World::AddWeather(uint32 zone_id)
|
|||
/// Initialize config values
|
||||
void World::LoadConfigSettings(bool reload)
|
||||
{
|
||||
if(reload)
|
||||
if (reload)
|
||||
{
|
||||
if(!sConfig.Reload())
|
||||
if (!sConfig.Reload())
|
||||
{
|
||||
sLog.outError("World settings reload fail: can't read settings from %s.",sConfig.GetFilename().c_str());
|
||||
return;
|
||||
|
|
@ -413,7 +413,7 @@ void World::LoadConfigSettings(bool reload)
|
|||
|
||||
///- Read the version of the configuration file and warn the user in case of emptiness or mismatch
|
||||
uint32 confVersion = sConfig.GetIntDefault("ConfVersion", 0);
|
||||
if(!confVersion)
|
||||
if (!confVersion)
|
||||
{
|
||||
sLog.outError("*****************************************************************************");
|
||||
sLog.outError(" WARNING: mangosd.conf does not include a ConfVersion variable.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue