2
0
mirror of https://github.com/dpethes/rerogue.git synced 2025-06-09 17:01:13 +02:00

hob parser: fix check on face data start position

This commit is contained in:
dpethes 2014-10-12 19:40:47 +02:00
parent 51a5b14b18
commit 7106fd158a

View File

@ -71,8 +71,8 @@ begin
if (unknown <> 0) then if (unknown <> 0) then
writeln('unusual file: zero'); writeln('unusual file: zero');
file_pos := f.ReadDWord; file_pos := f.ReadDWord;
if file_pos + 4 <> f.Position then if file_pos <> f.Position + 4 then
writeln('unusual file: face start position'); writeln('unusual file: face data start position');
group.face_count := f.ReadDWord; group.face_count := f.ReadDWord;
writeln('faces: ', group.face_count); writeln('faces: ', group.face_count);