Changed: Minor changes

This commit is contained in:
kervala 2016-08-10 15:45:37 +02:00
parent 9a540379d7
commit ac0bbd0cad

View file

@ -1233,16 +1233,19 @@ void CPlayerService::initConfigFileVars()
MaxNbNpcSpawnedByEGS = varMaxNbNpcSpawnedByEGS->asInt();
else
MaxNbNpcSpawnedByEGS = 50;
CConfigFile::CVar *varMaxNbForageSources = ConfigFile.getVarPtr("NbForageSourcesLimit");
if ( varMaxNbForageSources )
MaxNbForageSources = varMaxNbForageSources->asInt();
else
MaxNbForageSources = 2000;
CConfigFile::CVar *varMaxNbToxicClouds = ConfigFile.getVarPtr("NbToxicCloudsLimit");
if ( varMaxNbToxicClouds )
MaxNbToxicClouds = varMaxNbToxicClouds->asInt();
else
MaxNbToxicClouds = 1000;
nlinfo( "NbPlayersLimit=%u NbObjectsLimit=%u NbNpcSpawnedByEGSLimit=%u NbForageSourcesLimit=%u NbToxicCloudsLimit=%u NbGuildLimit=%u", MaxNbPlayers, MaxNbObjects, MaxNbNpcSpawnedByEGS, MaxNbForageSources, MaxNbToxicClouds, MaxNbGuilds );
CConfigFile::CVar *varExportDepositContents = ConfigFile.getVarPtr("ExportDepositContents");