diff --git a/src/Player.mpsrc b/src/Player.mpsrc
index 947adf9cbd706749e7dd07d8b950b446f7087312..0a97db74453571125d066248357684a7b392a46d 100644 (file)
--- a/src/Player.mpsrc
+++ b/src/Player.mpsrc
\r
implementation\r
\r
- uses func, phy, vars, Canvas, drop, jsr75i, inv, Items;\r
+ uses func, phy, vars, Canvas, drop, jsr75i, inv, ItemsLogic;\r
\r
const\r
PLAYER_W=8;\r
DrawImage(playerBody[posi], x - camx, y - camy);\r
DrawImage(playerLegs[posi, animLegs], x - 2 - camx, y + 20 - camy);\r
\r
- if animHand = 0 then Items.DrawSmall(Inv.GetItem(invslot), x - camx, y + 14 - camy);\r
- else if posi = POSI_RIGHT then Items.DrawSmall(Inv.GetItem(invslot), x + 10 - camx, y + 5 - camy + animHand);\r
- else if posi = POSI_LEFT then Items.DrawSmall(Inv.GetItem(invslot), x - 10 - camx, y + 5 - camy + animHand);\r
+ if animHand = 0 then ItemsLogic.DrawSmall(Inv.GetItem(invslot), x - camx, y + 14 - camy);\r
+ else if posi = POSI_RIGHT then ItemsLogic.DrawSmall(Inv.GetItem(invslot), x + 10 - camx, y + 5 - camy + animHand);\r
+ else if posi = POSI_LEFT then ItemsLogic.DrawSmall(Inv.GetItem(invslot), x - 10 - camx, y + 5 - camy + animHand);\r
\r
if (animHand = 0) or (posi = POSI_RIGHT) then DrawImage(playerHand[posi, animHand], x + 2 - camx, y + 8 - camy);\r
else DrawImage(playerHand[posi, animHand], x - 6 - camx, y + 8 - camy);\r