diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2017-01-22 20:13:03 +0000 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2017-01-22 20:13:03 +0000 |
commit | bc86a32af663f8eb0d35af62bdbd56a5c19e9104 (patch) | |
tree | 7d19dddb0f6613233207361aa0878bef3b2fecae /mount.lua | |
parent | e3515482cc636d4b84b7363b4815bf24ebdfe220 (diff) |
fixed mount mob rotation
Diffstat (limited to 'mount.lua')
-rw-r--r-- | mount.lua | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |