Biome generators: biome lists can contain spaces.
This commit is contained in:
parent
24137e282b
commit
6c25c356c7
@ -212,7 +212,7 @@ void cBioGenCache::InitializeBiomeGen(cIniFile & a_IniFile)
|
|||||||
|
|
||||||
void cBiomeGenList::InitializeBiomes(const AString & a_Biomes)
|
void cBiomeGenList::InitializeBiomes(const AString & a_Biomes)
|
||||||
{
|
{
|
||||||
AStringVector Split = StringSplit(a_Biomes, ",");
|
AStringVector Split = StringSplitAndTrim(a_Biomes, ",");
|
||||||
|
|
||||||
// Convert each string in the list into biome:
|
// Convert each string in the list into biome:
|
||||||
for (AStringVector::const_iterator itr = Split.begin(); itr != Split.end(); ++itr)
|
for (AStringVector::const_iterator itr = Split.begin(); itr != Split.end(); ++itr)
|
||||||
|
Loading…
Reference in New Issue
Block a user