mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-29 23:26:00 +00:00
Fixed: Wrong variable names
This commit is contained in:
parent
a281290174
commit
a5a400bd3f
1 changed files with 3 additions and 2 deletions
|
@ -1224,12 +1224,13 @@ void CPlayerService::initConfigFileVars()
|
||||||
|
|
||||||
CConfigFile::CVar *varMaxNbObjects = ConfigFile.getVarPtr("NbObjectsLimit");
|
CConfigFile::CVar *varMaxNbObjects = ConfigFile.getVarPtr("NbObjectsLimit");
|
||||||
if ( varMaxNbObjects )
|
if ( varMaxNbObjects )
|
||||||
MaxNbObjects= varMaxNbPlayers->asInt();
|
MaxNbObjects = varMaxNbObjects->asInt();
|
||||||
else
|
else
|
||||||
MaxNbObjects = 1000;
|
MaxNbObjects = 1000;
|
||||||
|
|
||||||
CConfigFile::CVar *varMaxNbNpcSpawnedByEGS = ConfigFile.getVarPtr("NbNpcSpawnedByEGSLimit");
|
CConfigFile::CVar *varMaxNbNpcSpawnedByEGS = ConfigFile.getVarPtr("NbNpcSpawnedByEGSLimit");
|
||||||
if ( varMaxNbNpcSpawnedByEGS )
|
if ( varMaxNbNpcSpawnedByEGS )
|
||||||
MaxNbNpcSpawnedByEGS = varMaxNbPlayers->asInt();
|
MaxNbNpcSpawnedByEGS = varMaxNbNpcSpawnedByEGS->asInt();
|
||||||
else
|
else
|
||||||
MaxNbNpcSpawnedByEGS = 50;
|
MaxNbNpcSpawnedByEGS = 50;
|
||||||
CConfigFile::CVar *varMaxNbForageSources = ConfigFile.getVarPtr("NbForageSourcesLimit");
|
CConfigFile::CVar *varMaxNbForageSources = ConfigFile.getVarPtr("NbForageSourcesLimit");
|
||||||
|
|
Loading…
Reference in a new issue