2
0
mirror of https://github.com/dpethes/rerogue.git synced 2025-06-07 18:58:32 +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
writeln('unusual file: zero');
file_pos := f.ReadDWord;
if file_pos + 4 <> f.Position then
writeln('unusual file: face start position');
if file_pos <> f.Position + 4 then
writeln('unusual file: face data start position');
group.face_count := f.ReadDWord;
writeln('faces: ', group.face_count);