Local variable fix in mcl_mobs

This commit is contained in:
Wuzzy 2018-07-02 23:34:40 +02:00
parent 61c5c61e00
commit f7227de6fa

View file

@ -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