From d9f7b126b684e8b9cc32630c3649e02a5cfc4392 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Sun, 15 Nov 2026 09:06:06 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Load=20client=20static=20blocks?= =?UTF-8?q?=20stored=20at=20offset=20zero?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The client used the same offset-zero bug as the server loader, dropping the first static block of a freshly written file. --- Client/ULandscape.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Client/ULandscape.pas b/Client/ULandscape.pas index b02a5c5..e69d1cd 100644 --- a/Client/ULandscape.pas +++ b/Client/ULandscape.pas @@ -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;