From fd8ea3f4e76d3ee9c681b17a6a9076d85f9e81f5 Mon Sep 17 00:00:00 2001
From: jonwd7 <jon.wd7@gmail.com>
Date: Thu, 1 Jun 2017 01:03:07 -0400
Subject: [PATCH] Simplify HavokMaterial conditions

This was necessary so that Fallout3HavokMaterial actually applied to all FO3 NIF versions (e.g. User Version 2 == 16)
---
 nif.xml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/nif.xml b/nif.xml
index 890a44d..fc92a15 100644
--- a/nif.xml
+++ b/nif.xml
@@ -1623,9 +1623,9 @@
     </compound>
 
     <compound name="HavokMaterial">
-        <add name="Material" type="OblivionHavokMaterial" vercond="(Version != 20.2.0.7) || ((Version == 20.2.0.7) &amp;&amp; (User Version != 11) &amp;&amp; (User Version != 12) &amp;&amp; (User Version 2 != 34) &amp;&amp; (User Version 2 != 83))">The material of the shape.</add><!--condition: all except Fallout 3 and Skyrim -->
-        <add name="Material" type="Fallout3HavokMaterial" vercond="(Version == 20.2.0.7) &amp;&amp; (User Version == 11) &amp;&amp; (User Version 2 == 34)">The material of the shape.</add>
-        <add name="Material" type="SkyrimHavokMaterial" vercond="(Version == 20.2.0.7) &amp;&amp; (User Version == 12) &amp;&amp; (User Version 2 &gt;= 83)">The material of the shape.</add>
+        <add name="Material" type="OblivionHavokMaterial" vercond="(Version == 20.0.0.5)">The material of the shape.</add>
+        <add name="Material" type="Fallout3HavokMaterial" vercond="(Version == 20.2.0.7) &amp;&amp; (User Version 2 &lt;= 34)">The material of the shape.</add>
+        <add name="Material" type="SkyrimHavokMaterial" vercond="(Version == 20.2.0.7) &amp;&amp; (User Version 2 &gt; 34)">The material of the shape.</add>
     </compound>
 
     <compound name="OblivionSubShape">
-- 
GitLab