More fixes for Code/Editor
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -477,7 +477,7 @@ bool CLevelFileDialog::ValidateLevelPath(const QString& levelPath) const
|
||||
QString currentPath = (Path::GetEditingGameDataFolder() + "/" + kLevelsFolder).c_str();
|
||||
for (size_t i = 0; i < splittedPath.size() - 1; ++i)
|
||||
{
|
||||
currentPath += "/" + splittedPath[i];
|
||||
currentPath += "/" + splittedPath[static_cast<int>(i)];
|
||||
|
||||
if (CFileUtil::FileExists(currentPath) || CheckLevelFolder(currentPath))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user