wrap to remove ambiguity

This commit is contained in:
AzaezelX 2021-08-09 22:24:20 -05:00
parent 1037b5d718
commit 20e4f3c120
2 changed files with 2 additions and 2 deletions

View file

@ -348,7 +348,7 @@ void Forest::createNewFile()
//If we didn't already define a forestfile to work with, just base it off our filename
if (basePath.isEmpty())
basePath = levelAsset->getLevelPath();
basePath = (Torque::Path)(levelAsset->getLevelPath());
String fileName = Torque::FS::MakeUniquePath( basePath.getPath(), basePath.getFileName(), "forest" );
mDataFileName = StringTable->insert( fileName.c_str() );