Fix continent path bug
This commit is contained in:
parent
4f4a3469d3
commit
7c328658fb
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