From 906ada2495e411e13460c06df96d65919fe3d0b7 Mon Sep 17 00:00:00 2001
From: Amorilia <amorilia@users.sourceforge.net>
Date: Wed, 15 Mar 2006 14:38:48 +0000
Subject: [PATCH] Small bugfix in NiControllerSequence::FixLinks.

---
 NIF_Blocks.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/NIF_Blocks.cpp b/NIF_Blocks.cpp
index 1b2ea083..5c07d6ae 100644
--- a/NIF_Blocks.cpp
+++ b/NIF_Blocks.cpp
@@ -3766,7 +3766,7 @@ void NiControllerSequence::FixLinks( const vector<blk_ref> & blocks ) {
 	}
 
 	for (uint i = 0; i < children.size(); ++i ) {
-		if ( children[i].unk_link.is_null() == false ) {
+		if ( children[i].block.is_null() == false ) {
 			//Fix links for this child
 			children[i].block = blocks[children[i].block.get_index()];
 
-- 
GitLab