mirror of
https://github.com/minetest-mods/i3.git
synced 2024-11-11 05:10:25 +01:00
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
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user