- Fixed a bug in ULandscape.pas which causes problems with InsideUO (staidx.size was not correctly set to zero when the entry was empty)
This commit is contained in:
parent
15bcaa0686
commit
5b4ea92bb1
|
@ -536,11 +536,11 @@ begin
|
|||
FStatics.Position := FStatics.Size;
|
||||
index.Lookup := FStatics.Position;
|
||||
end;
|
||||
index.Size := size;
|
||||
if size = 0 then
|
||||
index.Lookup := LongInt($FFFFFFFF)
|
||||
else
|
||||
begin
|
||||
index.Size := size;
|
||||
FStatics.Position := index.Lookup;
|
||||
AWorldBlock.Write(FStatics);
|
||||
end;
|
||||
|
|
Loading…
Reference in New Issue