mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-28 11:20:53 +00:00
Changed: Minor changes
This commit is contained in:
parent
9a540379d7
commit
ac0bbd0cad
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