Beds, boats: Replace deprecated get_look_yaw/set_look_yaw

This commit is contained in:
SmallJoker
2016-07-25 17:42:42 +02:00
committed by paramat
parent 0ac096991c
commit ea49eb3f3d
2 changed files with 3 additions and 3 deletions

View File

@ -79,7 +79,7 @@ function boat.on_rightclick(self, clicker)
minetest.after(0.2, function()
default.player_set_animation(clicker, "sit" , 30)
end)
self.object:setyaw(clicker:get_look_yaw() - math.pi / 2)
self.object:setyaw(clicker:get_look_horizontal() - math.pi / 2)
end
end