mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Fixed issue #57.
The fix also includes an update to libespm so that it doesn't return the TES4 record's FormID (which is always zero) when getting FormIDs.
This commit is contained in:
@@ -226,11 +226,11 @@ namespace boss {
|
||||
|
||||
vertex_t vertex, parentVertex;
|
||||
if (graph[*vit].NumOverrideFormIDs() >= graph[*vit2].NumOverrideFormIDs()) {
|
||||
parentVertex = *vit2;
|
||||
vertex = *vit;
|
||||
} else {
|
||||
parentVertex = *vit;
|
||||
vertex = *vit2;
|
||||
} else {
|
||||
parentVertex = *vit2;
|
||||
vertex = *vit;
|
||||
}
|
||||
|
||||
if (!boost::edge(parentVertex, vertex, graph).second &&
|
||||
|
||||
Reference in New Issue
Block a user