Changed: Minor changes
--HG-- branch : develop
This commit is contained in:
parent
2c6bbb7124
commit
8580daa0a1
1 changed files with 3 additions and 0 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue