mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Check Oblivion Remastered plugins' master flag
Although the game doesn't require master files to load before non-master files, if they load after that can apparently cause issues, so make LOOT sort master files first.
This commit is contained in:
@@ -186,8 +186,7 @@ TEST_P(PluginInterfaceTest,
|
||||
|
||||
EXPECT_EQ(blankEsm, plugin->GetName());
|
||||
EXPECT_TRUE(plugin->GetMasters().empty());
|
||||
if (GetParam() == GameType::openmw ||
|
||||
GetParam() == GameType::oblivionRemastered) {
|
||||
if (GetParam() == GameType::openmw) {
|
||||
EXPECT_FALSE(plugin->IsMaster());
|
||||
} else {
|
||||
EXPECT_TRUE(plugin->IsMaster());
|
||||
@@ -212,8 +211,7 @@ TEST_P(PluginInterfaceTest, shouldBeAbleToGetAllDataFromFullyLoadedPlugin) {
|
||||
|
||||
EXPECT_EQ(blankEsm, plugin->GetName());
|
||||
EXPECT_TRUE(plugin->GetMasters().empty());
|
||||
if (GetParam() == GameType::openmw ||
|
||||
GetParam() == GameType::oblivionRemastered) {
|
||||
if (GetParam() == GameType::openmw) {
|
||||
EXPECT_FALSE(plugin->IsMaster());
|
||||
} else {
|
||||
EXPECT_TRUE(plugin->IsMaster());
|
||||
|
||||
Reference in New Issue
Block a user