From bc86a32af663f8eb0d35af62bdbd56a5c19e9104 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Sun, 22 Jan 2017 20:13:03 +0000 Subject: [PATCH] fixed mount mob rotation --- mount.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mount.lua b/mount.lua index 342a3b7..b8d5d05 100644 --- a/mount.lua +++ b/mount.lua @@ -196,7 +196,10 @@ function mobs.drive(entity, moving_anim, stand_anim, can_fly, dtime) end --entity.object:setyaw(entity.driver:get_look_yaw() - rot_steer) - entity.object:setyaw(entity.driver:get_look_horizontal())-- - rot_steer) +-- entity.object:setyaw(entity.driver:get_look_horizontal())-- - rot_steer) + + -- fix mob rotation + entity.object:setyaw(entity.driver:get_look_horizontal() - entity.rotate) if can_fly then