- 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;
|
FStatics.Position := FStatics.Size;
|
||||||
index.Lookup := FStatics.Position;
|
index.Lookup := FStatics.Position;
|
||||||
end;
|
end;
|
||||||
|
index.Size := size;
|
||||||
if size = 0 then
|
if size = 0 then
|
||||||
index.Lookup := LongInt($FFFFFFFF)
|
index.Lookup := LongInt($FFFFFFFF)
|
||||||
else
|
else
|
||||||
begin
|
begin
|
||||||
index.Size := size;
|
|
||||||
FStatics.Position := index.Lookup;
|
FStatics.Position := index.Lookup;
|
||||||
AWorldBlock.Write(FStatics);
|
AWorldBlock.Write(FStatics);
|
||||||
end;
|
end;
|
||||||
|
|
Loading…
Reference in New Issue