Tools/VMapExtractor: Do not append "Data" twice.

This commit is contained in:
Gacko
2015-11-21 00:22:52 +01:00
parent 0df82633cd
commit 7f075ae746

View File

@@ -391,15 +391,6 @@ void ParsMapFiles()
}
}
void getGamePath()
{
#ifdef _WIN32
strcpy(input_path,"Data\\");
#else
strcpy(input_path,"Data/");
#endif
}
bool processArgv(int argc, char ** argv, const char *versionString)
{
bool result = true;
@@ -454,9 +445,6 @@ bool processArgv(int argc, char ** argv, const char *versionString)
printf(" -? : This message.\n");
}
if(!hasInputPathParam)
getGamePath();
return result;
}