Fixed bug where shop price would continue displaying after the item was purchased

This commit is contained in:
MeirGavish
2025-08-03 16:51:16 +03:00
parent e7b6d24815
commit bbefff2eb9
+1 -1
View File
@@ -2325,7 +2325,7 @@ void game_shop()
Rect joker_price_rect;
joker_price_rect.left = fx2int(shop_jokers[i]->sprite_object->tx);
joker_price_rect.top = fx2int(shop_jokers[i]->sprite_object->ty) + TILE_SIZE;
joker_price_rect.top = fx2int(shop_jokers[i]->sprite_object->ty) + CARD_SPRITE_SIZE + 2*TILE_SIZE;
joker_price_rect.right = joker_price_rect.left + TILE_SIZE * 3;
joker_price_rect.bottom = joker_price_rect.top + TILE_SIZE;