mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-07-04 05:55:47 -07:00
parent
f27743348e
commit
8599a20353
1 changed files with 2 additions and 2 deletions
|
|
@ -232,14 +232,14 @@ function paintTileClassBasedOnHeight(minHeight, maxHeight, mode, tileClass)
|
|||
{
|
||||
createArea(
|
||||
new HeightPlacer(mode, minHeight, maxHeight),
|
||||
new TileClassPainter(getTileClass(tileClass)));
|
||||
new TileClassPainter(tileClass));
|
||||
}
|
||||
|
||||
function unPaintTileClassBasedOnHeight(minHeight, maxHeight, mode, tileClass)
|
||||
{
|
||||
createArea(
|
||||
new HeightPlacer(mode, minHeight, maxHeight),
|
||||
new TileClassUnPainter(getTileClass(tileClass)));
|
||||
new TileClassUnPainter(tileClass));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue