From 3bc2794b0aa7f048cc08cfff48d43d5969415240 Mon Sep 17 00:00:00 2001 From: Ian Curtis Date: Sun, 3 Apr 2016 16:10:40 +0000 Subject: [PATCH] Use the correct texture enable bit --- Src/Graphics/New3D/PolyHeader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/Graphics/New3D/PolyHeader.cpp b/Src/Graphics/New3D/PolyHeader.cpp index 55a003a..3a41754 100644 --- a/Src/Graphics/New3D/PolyHeader.cpp +++ b/Src/Graphics/New3D/PolyHeader.cpp @@ -232,7 +232,7 @@ int PolyHeader::TexFormat() bool PolyHeader::TexEnabled() { - return (header[6] & 0x04000000) > 0; + return (header[6] & 0x400) > 0; } bool PolyHeader::LightEnabled()