removed unregistered global call

This commit is contained in:
Sokomine 2015-03-28 19:04:54 +01:00
parent 2b33e88885
commit 5a16df8969

View File

@ -69,12 +69,11 @@ mg_villages.grow_jungletree = function(data, a, pos, seed, snow)
and in games that have saplings; both are deprecated but not
replaced yet
]]--
local leaves_type = c_jungleleaves;
if( snow
or data[ a:index(pos.x, pos.y, pos.z) ] == c_snow
or data[ a:index(pos.x, pos.y+1, pos.z) ] == c_snow ) then
leaves_type = c_msnow_leaves1;
else
leaves_type = c_jungleleaves;
end
local hight = math.random(8, 12)