File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -290,7 +290,7 @@ begin
290290
291291 case map of
292292 ERSMap.NORMAL: cachename := Self.CacheDir + 'map' + PATH_SEP + ToStr(plane) + PATH_SEP + filename;
293- ERSMap.HEIGHT: cachename := Self.CacheDir + 'heightmap' + PATH_SEP + filename;
293+ ERSMap.HEIGHT: cachename := Self.CacheDir + 'heightmap' + PATH_SEP + ToStr(plane) + PATH_SEP + filename;
294294 ERSMap.COLLISION: cachename := Self.CacheDir + 'collision' + PATH_SEP + ToStr(plane) + PATH_SEP + filename;
295295 end;
296296
@@ -530,7 +530,7 @@ begin
530530 maps.Last.Pad(padding);
531531
532532 //heightmap are shared accross planes
533- heightmaps += Self.GetMap(region.Chunks, 0 , ERSMap.HEIGHT);
533+ heightmaps += Self.GetMap(region.Chunks, plane , ERSMap.HEIGHT);
534534 heightmaps.Last.Pad(padding);
535535
536536 collisionmaps += Self.GetMap(region.Chunks, plane, ERSMap.COLLISION);
You can’t perform that action at this time.
0 commit comments