mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-19 17:33:44 +01:00
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:
parent
dd4f3d21eb
commit
fb4a6b0e7b
@ -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]
|
||||
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}
|
||||
minetest.register_lbm({
|
||||
|
Loading…
Reference in New Issue
Block a user