Compare commits
14 Commits
f2f0e8484b
...
d1acdf3a5b
Author | SHA1 | Date |
---|---|---|
teknomunk | d1acdf3a5b | |
teknomunk | 5b3985f06f | |
teknomunk | f2de62f013 | |
teknomunk | 569329da56 | |
teknomunk | d2add19024 | |
teknomunk | a66880ea75 | |
teknomunk | ab5b85772f | |
the-real-herowl | aa4fb97935 | |
the-real-herowl | ec4589e93d | |
teknomunk | 06012b5336 | |
the-real-herowl | 0bb9980970 | |
teknomunk | fbc2dd6ea0 | |
teknomunk | d77783a717 | |
teknomunk | 92f781b68c |
|
@ -317,11 +317,11 @@ local function stuck_on_step(self, dtime, entity_def, projectile_def)
|
|||
gain = 1.0,
|
||||
}, true)
|
||||
end
|
||||
|
||||
mcl_burning.extinguish(self.object)
|
||||
mcl_util.remove_entity(self)
|
||||
return
|
||||
end
|
||||
|
||||
mcl_burning.extinguish(self.object)
|
||||
mcl_util.remove_entity(self)
|
||||
return true
|
||||
end
|
||||
end
|
||||
end
|
||||
|
@ -333,7 +333,8 @@ function mod.sticks(self, dtime, entity_def, projectile_def)
|
|||
|
||||
-- Stuck handling
|
||||
if self._stuck then
|
||||
return stuck_on_step(self, dtime, entity_def, projectile_def)
|
||||
stuck_on_step(self, dtime, entity_def, projectile_def)
|
||||
return true
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -40,10 +40,6 @@ table.update(spear_entity._vl_projectile,{
|
|||
|
||||
local pos = self.object:get_pos()
|
||||
local y_diff = math.abs(self._last_pos.y - pos.y)
|
||||
minetest.log(dump({
|
||||
y_diff = y_diff,
|
||||
flat_time = self._flat_time,
|
||||
}))
|
||||
if y_diff > 0.0001 then
|
||||
self._flat_time = 0
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue