forked from 0ad/0ad
Fix water-terrain painting following 6cc00f6a82
. Based on patch by niektb.
This was SVN commit r17797.
This commit is contained in:
parent
2b0c40d7b2
commit
8b85b72dfc
@ -595,7 +595,7 @@ createObjectGroups(group, 0,
|
||||
);
|
||||
|
||||
paintTerrainBasedOnHeight(1, 2, 0, tShore);
|
||||
paintTerrainBasedOnHeight(-8, 1, 2, tWater);
|
||||
paintTerrainBasedOnHeight(getMapBaseHeight(), 1, 3, tWater);
|
||||
|
||||
setSkySet(shuffleArray(["cloudless", "cumulus", "overcast"])[0]);
|
||||
|
||||
|
@ -290,6 +290,11 @@ function isCircularMap()
|
||||
return !!g_MapSettings.CircularMap;
|
||||
}
|
||||
|
||||
function getMapBaseHeight()
|
||||
{
|
||||
return g_MapSettings.BaseHeight || 0;
|
||||
}
|
||||
|
||||
function createTileClass()
|
||||
{
|
||||
return g_Map.createTileClass();
|
||||
|
Loading…
Reference in New Issue
Block a user