mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-23 11:23:45 +01:00
Local variable fix in mcl_mobs
parent
61c5c61e00
commit
f7227de6fa
@ -1410,7 +1410,7 @@ local npc_attack = function(self)
|
|||||||
p = obj.object:get_pos()
|
p = obj.object:get_pos()
|
||||||
sp = s
|
sp = s
|
||||||
|
|
||||||
dist = get_distance(p, s)
|
local dist = get_distance(p, s)
|
||||||
|
|
||||||
-- aim higher to make looking up hills more realistic
|
-- aim higher to make looking up hills more realistic
|
||||||
p.y = p.y + 1
|
p.y = p.y + 1
|
||||||
|
Loading…
Reference in New Issue
Block a user