Fixing texture index issue.
diff --git a/Source/Actor.cpp b/Source/Actor.cpp
index 9d2a17d..4d142ec 100644
--- a/Source/Actor.cpp
+++ b/Source/Actor.cpp
@@ -25,7 +25,7 @@
 	m_Root(nullptr),
 	m_EventCallbackUserData(nullptr),
 	m_EventCallback(nullptr),
-	m_MaxTextureIndex(0),
+	m_MaxTextureIndex(-1),
 	m_ImageNodeCount(0),
 	m_RenderNodeCount(0),
 	m_SolverNodeCount(0),
@@ -73,7 +73,7 @@
 
 	m_ComponentCount = 0;
 	m_NodeCount = 0;
-	m_MaxTextureIndex = 0;
+	m_MaxTextureIndex = -1;
 	m_ImageNodeCount = 0;
 	m_RenderNodeCount = 0;
 	m_SolverNodeCount = 0;
diff --git a/Source/Actor.hpp b/Source/Actor.hpp
index 40f8b44..5a6906c 100644
--- a/Source/Actor.hpp
+++ b/Source/Actor.hpp
@@ -75,7 +75,7 @@
 			void readNestedActorAssetsBlock(BlockReader* block);
 			
 		protected:
-			unsigned int m_MaxTextureIndex;
+			int m_MaxTextureIndex;
 			unsigned int m_ImageNodeCount;
 			unsigned int m_RenderNodeCount;
 			unsigned int m_SolverNodeCount;