summaryrefslogtreecommitdiff
path: root/mount.lua
diff options
context:
space:
mode:
Diffstat (limited to 'mount.lua')
-rw-r--r--mount.lua5
1 files changed, 4 insertions, 1 deletions
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