From a2515dc7f3e4efbf23a9777576224108e0fafa1a Mon Sep 17 00:00:00 2001 From: TigerKat Date: Wed, 10 Jul 2019 15:04:00 +0930 Subject: [PATCH] bugfix: Wasn't skipping over a defunct field in version 7 and under files. --- geo.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/geo.py b/geo.py index aaa3acd..b8e6684 100755 --- a/geo.py +++ b/geo.py @@ -652,6 +652,9 @@ class Model: self.name = extractString(self.geo.header_objname_data, self.name_ptr) #self.geo.header_offset = final_offset - 12 - 2 + if self.geo.version <= 7: + #lightmap_size + self.geo.header_offset += 4 if self.geo.version >= 7: self.autolod_dists = list(self.geo.getHeaderElement("