Commit a2e6732495777fe13d5d7c2d2f60d524c7e648b1

Authored by DarkGod
1 parent 19d10d16

plop

... ... @@ -72,6 +72,7 @@ function _M:display(x, y, nb_keyframes, screen_x, screen_y)
72 72 self.back.t:toScreenFull(x, y, self.back.w, self.back.h, self.back.tw, self.back.th)
73 73 core.display.glScissor(true, screen_x + 15, screen_y + 15, 128, 192)
74 74 local dx, dy = x + 15 + (128 - self.iw) / 2, y + 15 + (192 - self.ih) / 2
  75 + if self.ih > 192 then dy = y + 15 end
75 76 if self.actor_frame then
76 77 self.actor_frame:display(dx, dy - self.iy)
77 78 elseif self.item then
... ...