mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Fixed issue #85.
Incompatibility messages were getting evaluated the opposite of how they should be.
This commit is contained in:
@@ -714,7 +714,7 @@ namespace boss {
|
||||
issues.insert(pair<string,bool>(it->DisplayName(),false));
|
||||
}
|
||||
for (set<File>::const_iterator it=incompatibilities.begin(), endIt=incompatibilities.end(); it != endIt; ++it) {
|
||||
if (!boost::filesystem::exists(game.DataPath() / it->Name()) && !(IsPlugin(it->Name()) && boost::filesystem::exists(game.DataPath() / (it->Name() + ".ghost"))))
|
||||
if (boost::filesystem::exists(game.DataPath() / it->Name()) || (IsPlugin(it->Name()) && boost::filesystem::exists(game.DataPath() / (it->Name() + ".ghost"))))
|
||||
issues.insert(pair<string,bool>(it->DisplayName(),true));
|
||||
}
|
||||
return issues;
|
||||
|
||||
Reference in New Issue
Block a user