Fix old angled heads not being converted (#4627)

Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4627
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-committed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
This commit is contained in:
Mikita Wiśniewski 2024-09-08 04:26:51 +02:00 committed by the-real-herowl
parent dd4f3d21eb
commit fb4a6b0e7b

View file

@ -253,6 +253,10 @@ for i=1,#old_heads_all do
old_heads_angled[#old_heads_angled+1] = old_heads_all[i]..mcl_heads.FLOOR_DEGREES[j] old_heads_angled[#old_heads_angled+1] = old_heads_all[i]..mcl_heads.FLOOR_DEGREES[j]
end end
end end
-- add the angled heads to old_heads_all
for i=1,#old_heads_angled do
old_heads_all[#old_heads_all+1] = old_heads_angled[i]
end
local facedir_to_degrotate = {0, 180, 120, 60} local facedir_to_degrotate = {0, 180, 120, 60}
minetest.register_lbm({ minetest.register_lbm({