La maquina de cafe no toca el suelo

This commit is contained in:
2022-10-04 19:11:31 +02:00
parent d5ab7cbe2a
commit a5adf1ba01
3 changed files with 6 additions and 6 deletions

View File

@@ -53,8 +53,8 @@ Item::Item(SDL_Renderer *renderer, Asset *asset, Uint8 type, float x, float y)
if (type == ITEM_COFFEE_MACHINE)
{
width = 32;
height = 32;
width = 23;
height = 29;
posX = (((int)x + (PLAY_AREA_WIDTH / 2)) % (PLAY_AREA_WIDTH - width - 5)) + 2;
posY = PLAY_AREA_TOP - height;
velX = 0.0f;