mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-14 15:11:05 +01:00
fix leftover pi shortcut
This commit is contained in:
parent
faa38ffab8
commit
db63f1c453
2 changed files with 1 additions and 4 deletions
|
@ -514,9 +514,6 @@ function mob_class:on_step(dtime)
|
|||
end
|
||||
end
|
||||
|
||||
|
||||
|
||||
|
||||
local timer = 0
|
||||
minetest.register_globalstep(function(dtime)
|
||||
timer = timer + dtime
|
||||
|
|
|
@ -570,7 +570,7 @@ function mob_class:check_runaway_from()
|
|||
local yaw = (atan(vec.z / vec.x) + 3 *math.pi/ 2) - self.rotate
|
||||
|
||||
if lp.x > s.x then
|
||||
yaw = yaw + pi
|
||||
yaw = yaw + math.pi
|
||||
end
|
||||
|
||||
yaw = self:set_yaw( yaw, 4)
|
||||
|
|
Loading…
Reference in a new issue