🐛 Load client static blocks stored at offset zero

The client used the same offset-zero bug as the server loader,
dropping the first static block of a freshly written file.
This commit is contained in:
2026-11-15 22:06:51 +01:00
parent 2cc0be66c9
commit d9f7b126b6
+1 -1
View File
@@ -519,7 +519,7 @@ begin
for i := 0 to 63 do
Cells[i] := TStaticItemList.Create;
if (AData <> nil) and (AIndex.Lookup > 0) and (AIndex.Size > 0) then
if (AData <> nil) and (AIndex.Lookup > -1) and (AIndex.Size > 0) then
begin
AData.Position := AIndex.Lookup;
block := TMemoryStream.Create;