0
0
Fork 0

Fix formatting in ai.lua

This commit is contained in:
jordan4ibanez 2021-04-16 19:37:01 -04:00
parent ce7f4918b0
commit 9d6d042ee3
1 changed files with 0 additions and 3 deletions

View File

@ -23,11 +23,8 @@ local cliff_check = function(self,dtime)
end end
local pos = self.object:get_pos() local pos = self.object:get_pos()
local dir = minetest_yaw_to_dir(self.yaw) local dir = minetest_yaw_to_dir(self.yaw)
local collisionbox = self.object:get_properties().collisionbox local collisionbox = self.object:get_properties().collisionbox
local radius = collisionbox[4] + 0.5 local radius = collisionbox[4] + 0.5
dir = vector_multiply(dir,radius) dir = vector_multiply(dir,radius)