mil minimerdes arreglades

This commit is contained in:
2024-07-11 20:52:04 +02:00
parent 4c44fc0e1a
commit 80bbe711a2
10 changed files with 34 additions and 28 deletions

View File

@@ -14,8 +14,8 @@ Item::Item(Uint8 kind, float x, float y, Texture *texture, std::vector<std::stri
if (kind == ITEM_COFFEE_MACHINE)
{
width = 30;
height = 39;
width = 28;
height = 37;
posX = (((int)x + (PLAY_AREA_WIDTH / 2)) % (PLAY_AREA_WIDTH - width - 5)) + 2;
posY = PLAY_AREA_TOP - height;
velX = 0.0f;