forked from 0ad/0ad
Fixed a bug with getTerrainTexture function.
This was SVN commit r11337.
This commit is contained in:
parent
10410e4e3b
commit
9edd53a796
@ -630,6 +630,6 @@ function getDirection(x1, z1, x2, z2)
|
||||
|
||||
function getTerrainTexture(x, y)
|
||||
{
|
||||
return g_Map.getTerrain(x, y);
|
||||
return g_Map.getTexture(x, y);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user