fix: make aerial ennemies lower

This commit is contained in:
Kazhnuz 2021-05-15 13:09:35 +02:00
parent 487d14dece
commit eab1b4b456

View file

@ -10,7 +10,7 @@ function Ennemy:new(world, x, y, owner)
self.actionPerTurn = 2 self.actionPerTurn = 2
self:initSprite() self:initSprite()
if (self.owner.abstract.data.isAerial == true) then if (self.owner.abstract.data.isAerial == true) then
self.z = 16 self.z = 10
end end
self.sprHeight = self.owner.abstract.data.hudHeight + 14 self.sprHeight = self.owner.abstract.data.hudHeight + 14
end end