Set filepath for language packs

I forgot to set the filepath for language packs which caused some problems
This commit is contained in:
Sude 2014-10-11 02:44:22 +03:00
parent 6b0a39774a
commit a6da2e5bea

View File

@ -42,6 +42,7 @@ void gameDetails::makeFilepaths(const Config& config)
{ {
subdir = config.bSubDirectories ? config.sLanguagePackSubdir : ""; subdir = config.bSubDirectories ? config.sLanguagePackSubdir : "";
filepath = Util::makeFilepath(directory, this->languagepacks[i].path, this->gamename, subdir, 0); filepath = Util::makeFilepath(directory, this->languagepacks[i].path, this->gamename, subdir, 0);
this->languagepacks[i].setFilepath(filepath);
} }
for (unsigned int i = 0; i < this->dlcs.size(); ++i) for (unsigned int i = 0; i < this->dlcs.size(); ++i)