Skip to content

Commit

Permalink
Fix issue found by stastic analysis.
Browse files Browse the repository at this point in the history
  • Loading branch information
przemek83 committed Sep 28, 2024
1 parent a79cd60 commit 69cf524
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ void Map::shiftUp(Point& point, int tileSize)

void Map::shiftDown(Point& point, int tileSize)
{
point.y_ = (point.y_ / tileSize + 1) * tileSize;
point.y_ = ((point.y_ / tileSize) + 1) * tileSize;
}

void Map::drawBackgroundTile(const Screen& screen, TilePosition position)
Expand Down

0 comments on commit 69cf524

Please sign in to comment.