Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
CodingJellyfish committed Aug 1, 2022
1 parent 6d9c4aa commit b83765f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ void Board::drawBoard(sf::RenderWindow *window, Assets *assets)

if (queue)
{
sf::IntRect rect = sf::IntRect(queue * 32 - 32, 0, 32, 36);
sf::IntRect rect = sf::IntRect(queue * 32, 0, 32, 36);
assets->tiles.setTextureRect(rect);
assets->tiles.setPosition(440, 408);
assets->tiles.setScale(1.5f, 1.5f);
Expand Down

0 comments on commit b83765f

Please sign in to comment.