Priority values are inherited now.

However, they would be better inherited only during sorting, as otherwise they show up in the UI and possibly get recorded in the userlist using their inherited values. Part of #165 work.
This commit is contained in:
WrinklyNinja
2014-06-06 16:01:01 +01:00
parent 0226f1afb7
commit f67c6c5a4a
+2
View File
@@ -209,6 +209,8 @@ namespace loot {
//parentPriority is now the highest priority value of any plugin that the current plugin needs to load after.
//Set the current plugin's priority to parentPlugin.
if (graph[*vit].Priority() < parentPriority)
graph[*vit].Priority(parentPriority);
}
}