From 6aa4c92c6ec199fc6774bd887ae4ab56e64c437b Mon Sep 17 00:00:00 2001
From: Tazpn <tazpn@users.sourceforge.net>
Date: Sat, 8 Jul 2006 22:44:53 +0000
Subject: [PATCH] Fix DAoC bug with kob_m_head01.nif

---
 gen/obj_impl.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gen/obj_impl.cpp b/gen/obj_impl.cpp
index 8466cbd9..b8562500 100644
--- a/gen/obj_impl.cpp
+++ b/gen/obj_impl.cpp
@@ -6969,7 +6969,7 @@ void NiMorphData::InternalRead( istream& in, list<uint> & link_stack, unsigned i
 		if ( version >= 0x0A01006A ) {
 			NifStream( morphs[i1].frameName, in, version );
 		};
-		if ( version <= 0x0A000102 ) {
+		if ( version <= 0x0A010000 ) {
 			NifStream( morphs[i1].numMorphKeys, in, version );
 			NifStream( morphs[i1].morphInterpolation, in, version );
 			morphs[i1].morphKeys.resize(morphs[i1].numMorphKeys);
@@ -6998,7 +6998,7 @@ void NiMorphData::InternalWrite( ostream& out, map<NiObjectRef,uint> link_map, u
 		if ( version >= 0x0A01006A ) {
 			NifStream( morphs[i1].frameName, out, version );
 		};
-		if ( version <= 0x0A000102 ) {
+		if ( version <= 0x0A010000 ) {
 			NifStream( morphs[i1].numMorphKeys, out, version );
 			NifStream( morphs[i1].morphInterpolation, out, version );
 			for (uint i3 = 0; i3 < morphs[i1].morphKeys.size(); i3++) {
-- 
GitLab