mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 08:28:32 +01:00
Tools/VMapExtractor: Do not append "Data" twice.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user