Fixed a bug with getTerrainTexture function.

This was SVN commit r11337.
This commit is contained in:
O.Davoodi 2012-03-14 11:59:44 +00:00
parent 10410e4e3b
commit 9edd53a796

View File

@ -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);
}