fix: Make lip-sync archive optional when loading modules
This makes it easier to add new areas.
This commit is contained in:
parent
4e4f7400e1
commit
36ddbabe64
1 changed files with 3 additions and 1 deletions
|
@ -227,8 +227,10 @@ void Resources::loadModule(const string &name) {
|
|||
|
||||
indexTransientRimFile(moduleRimPath);
|
||||
indexTransientRimFile(moduleRimSPath);
|
||||
indexTransientErfFile(lipModPath);
|
||||
|
||||
if (fs::exists(lipModPath)) {
|
||||
indexTransientErfFile(lipModPath);
|
||||
}
|
||||
if (_gameId == GameID::TSL) {
|
||||
fs::path dlgPath(getPathIgnoreCase(modulesPath, name + "_dlg.erf"));
|
||||
indexTransientErfFile(dlgPath);
|
||||
|
|
Loading…
Reference in a new issue