mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-23 15:46:18 +00:00
Fix continent path bug
This commit is contained in:
parent
41f6e70dc9
commit
75e2841519
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ static void loadIGFromContinent(NLMISC::CConfigFile ¶meter, std::list<CInsta
|
||||||
// Load the form
|
// Load the form
|
||||||
NLGEORGES::UFormLoader *loader = NLGEORGES::UFormLoader::createLoader();
|
NLGEORGES::UFormLoader *loader = NLGEORGES::UFormLoader::createLoader();
|
||||||
//
|
//
|
||||||
std::string pathName = level_design_world_directory.asString() + "/" + continentName;
|
std::string pathName = CPath::lookup(continentName); // level_design_world_directory.asString() + "/" + continentName;
|
||||||
if (pathName.empty())
|
if (pathName.empty())
|
||||||
{
|
{
|
||||||
nlwarning("Can't find continent form : %s", continentName.c_str());
|
nlwarning("Can't find continent form : %s", continentName.c_str());
|
||||||
|
|
Loading…
Reference in a new issue