- Added optional highlight for (un)walkable tiles
- Fixed lightmanager to draw in the correct color - Fixed TMapBlock and TStaticBlock to correctly initialize itself as "unchanged" - Cleanup in the server project
This commit is contained in:
@@ -30,7 +30,7 @@ unit ULandscape;
|
||||
interface
|
||||
|
||||
uses
|
||||
SysUtils, Classes, math, UGenericIndex, UMap, UStatics, UWorldItem, UMulBlock,
|
||||
SysUtils, Classes, math, UGenericIndex, UMap, UStatics, UWorldItem,
|
||||
UTileDataProvider, URadarMap,
|
||||
UCacheManager, ULinkedList, UBufferedStreams,
|
||||
UEnhancedMemoryStream, UPacketHandlers, UPackets, UNetState, UEnums;
|
||||
@@ -207,6 +207,7 @@ begin
|
||||
end;
|
||||
block.Free;
|
||||
end;
|
||||
FChanged := False;
|
||||
end;
|
||||
|
||||
constructor TSeperatedStaticBlock.Create(AData: TStream; AIndex: TGenericIndex);
|
||||
@@ -558,7 +559,7 @@ end;
|
||||
|
||||
procedure TLandscape.SaveBlock(AWorldBlock: TWorldBlock);
|
||||
var
|
||||
i, j, size: Integer;
|
||||
size: Integer;
|
||||
index: TGenericIndex;
|
||||
begin
|
||||
if AWorldBlock is TMapBlock then
|
||||
|
||||
Reference in New Issue
Block a user