fixed overlap chec

This commit is contained in:
0x81c 2015-03-16 08:47:08 -04:00
parent df7dd1b1f3
commit cd2e0d862a
4 changed files with 44 additions and 11 deletions

View file

@ -5,7 +5,10 @@ function npc:initialize(x, y, color, name)
x = x,
y = y,
color = color,
collision = "none", --player can't push other player
sprite = sprites.npc[name][color]
collision = "unmoveable",
sprite = sprites.npc[name][color],
onBump = function(self)
self.tal_ing = true
end,
})
end