From 72c72c9334036cfe8574dce767c06d68c4d518f9 Mon Sep 17 00:00:00 2001 From: WrinklyNinja Date: Sun, 15 Sep 2013 21:10:20 +0100 Subject: [PATCH] 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. --- src/backend/graph.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/backend/graph.cpp b/src/backend/graph.cpp index e8808dca..756f4650 100644 --- a/src/backend/graph.cpp +++ b/src/backend/graph.cpp @@ -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 &&