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
|
||||
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())
|
||||
{
|
||||
nlwarning("Can't find continent form : %s", continentName.c_str());
|
||||
|
|
Loading…
Reference in a new issue