Don't use bitops for 5.4 clients
This commit is contained in:
parent
7275767427
commit
edf0867e6c
|
@ -271,7 +271,7 @@ local function get_isometric_view(fs, pos, X, Y, t, cubes, depth, high)
|
||||||
end
|
end
|
||||||
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 cubes < maxc and depth > max_depth then
|
||||||
-- if there's not enough map to preview, go deeper
|
-- if there's not enough map to preview, go deeper
|
||||||
|
|
Ŝarĝante…
Reference in New Issue