diff --git a/include/obj/NiSourceTexture.h b/include/obj/NiSourceTexture.h
index 080a3d2bc856a9df7e347c5c635692fb6da44c14..6a7bd201d48f9951142434809e6708580e66d36d 100644
--- a/include/obj/NiSourceTexture.h
+++ b/include/obj/NiSourceTexture.h
@@ -149,7 +149,7 @@ protected:
 	 */
 	AlphaFormat alphaFormat;
 	/*! Is Static? */
-	bool isStatic;
+	byte isStatic;
 	/*! Load direct to renderer */
 	bool directRender;
 	/*! Render data is persistant */
diff --git a/src/obj/NiSourceTexture.cpp b/src/obj/NiSourceTexture.cpp
index 6ce62724c622fb21c626721c0e43f2a0cfa90d1a..4705e5f8a35636d200e29c78c21e29beb1df7a3d 100644
--- a/src/obj/NiSourceTexture.cpp
+++ b/src/obj/NiSourceTexture.cpp
@@ -21,7 +21,7 @@ using namespace Niflib;
 //Definition of TYPE constant
 const Type NiSourceTexture::TYPE("NiSourceTexture", &NiTexture::TYPE );
 
-NiSourceTexture::NiSourceTexture() : useExternal((byte)1), unknownLink(NULL), unknownByte((byte)0), pixelData(NULL), pixelLayout((PixelLayout)5), useMipmaps((MipMapFormat)2), alphaFormat((AlphaFormat)3), isStatic(1), directRender(1), persistRenderData(0) {
+NiSourceTexture::NiSourceTexture() : useExternal((byte)1), unknownLink(NULL), unknownByte((byte)0), pixelData(NULL), pixelLayout((PixelLayout)5), useMipmaps((MipMapFormat)2), alphaFormat((AlphaFormat)3), isStatic((byte)1), directRender(1), persistRenderData(0) {
 	//--BEGIN CONSTRUCTOR CUSTOM CODE--//
 	//--END CUSTOM CODE--//
 }