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