Don't use bitops for 5.4 clients

This commit is contained in:
Jean-Patrick Guerrero 2021-12-15 13:45:19 +01:00
parent 7275767427
commit edf0867e6c

View File

@ -271,7 +271,7 @@ local function get_isometric_view(fs, pos, X, Y, t, cubes, depth, high)
end
end
local maxc = ((width << 1) ^ 2) * base_height
local maxc = ((width * 2) ^ 2) * base_height
if cubes < maxc and depth > max_depth then
-- if there's not enough map to preview, go deeper