mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2025-02-16 12:52:27 +01:00
disable smooth rotation
This commit is contained in:
@ -311,7 +311,10 @@ end
|
||||
|
||||
-- set and return valid yaw
|
||||
local set_yaw = function(self, yaw, delay, dtime)
|
||||
|
||||
if true then
|
||||
self.object:set_yaw(yaw)
|
||||
return yaw
|
||||
end
|
||||
if not yaw or yaw ~= yaw then
|
||||
yaw = 0
|
||||
end
|
||||
|
Reference in New Issue
Block a user