mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-28 05:21:05 +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
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue