revert collisionbox change

master
TenPlus1 2016-06-15 20:48:14 +01:00
parent 14ccac7c86
commit a7534e9388
1 changed files with 3 additions and 2 deletions

View File

@ -44,7 +44,7 @@ end
local boat = {
physical = true,
--collisionbox = {-0.5, -0.4, -0.5, 0.5, 0.3, 0.5}, -- rowboat
collisionbox = {-0.5, -0.35, -0.5, 0.5, 0.15, 0.5}, -- boat
collisionbox = {-0.5, -0.35, -0.5, 0.5, 0.3, 0.5}, -- boat
visual = "mesh",
--mesh = "rowboat.x",
mesh = "boat.obj",
@ -103,7 +103,8 @@ end
function boat.on_activate(self, staticdata, dtime_s)
if mobs and mobs.entity and mobs.entity == false then
if (mobs and mobs.entity and mobs.entity == false)
or not self then
self.object:remove()
return
end