1
0
mirror of https://codeberg.org/tenplus1/mobs_redo.git synced 2024-12-24 17:50:21 +01:00

disabled the new raycasting line of sight due to mob attack issues

This commit is contained in:
TenPlus1 2019-06-28 20:33:23 +01:00
parent f040ee5bc7
commit 06dbdb1c44

View File

@ -6,7 +6,7 @@ local use_cmi = minetest.global_exists("cmi")
mobs = {
mod = "redo",
version = "20190520",
version = "20190628",
intllib = S,
invis = minetest.global_exists("invisibility") and invisibility or {},
}
@ -474,7 +474,7 @@ local ray_line_of_sight = function(self, pos1, pos2)
end
-- detect if using minetest 5.0 by searching for permafrost node
local is_50 = minetest.registered_nodes["default:permafrost"]
local is_50 = nil -- minetest.registered_nodes["default:permafrost"]
function mob_class:line_of_sight(pos1, pos2, stepsize)