mirror of
https://github.com/dpethes/rerogue.git
synced 2025-06-07 18:58:32 +02:00
terrain viewer: fix tile block memory allocation
This commit is contained in:
parent
6cc0c327ff
commit
cd9780147c
@ -133,7 +133,7 @@ var
|
||||
blk: TTerrainBlock;
|
||||
tile: TTile;
|
||||
begin
|
||||
SetLength(blocks, terrain.TileWidth, terrain.TileHeight);
|
||||
SetLength(blocks, terrain.TileHeight, terrain.TileWidth);
|
||||
for y := 0 to terrain.TileHeight - 1 do begin
|
||||
for x := 0 to terrain.TileWidth - 1 do begin
|
||||
tile_idx := terrain.heightmap.blk[y * terrain.TileWidth + x];
|
||||
|
@ -130,10 +130,7 @@
|
||||
</CodeGeneration>
|
||||
<Linking>
|
||||
<Debugging>
|
||||
<DebugInfoType Value="dsDwarf2Set"/>
|
||||
<UseHeaptrc Value="True"/>
|
||||
<TrashVariables Value="True"/>
|
||||
<UseExternalDbgSyms Value="True"/>
|
||||
</Debugging>
|
||||
</Linking>
|
||||
</CompilerOptions>
|
||||
|
Loading…
x
Reference in New Issue
Block a user