fix another orientation bug

This commit is contained in:
sapier 2013-04-14 11:37:45 +02:00
parent 2fc09d09a0
commit dab15b5bd0

View File

@ -468,7 +468,7 @@ function mob_inventory.trader_callback(entity,player)
if entity.mode == "3d" then
entity.object:setyaw(
mobf_calc_yaw(direction.x,direction.z)-math.pi/2)
mobf_calc_yaw(direction.x,direction.z))
else
entity.object:setyaw(
mobf_calc_yaw(direction.x,direction.z)+math.pi/2)