Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavo-tomas committed Jul 4, 2022
1 parent c3ab50a commit 316d199
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TileMap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ void TileMap::RenderLayer(int layer, int cameraX, int cameraY)
void TileMap::Render()
{
for (auto i = 0; i < mapDepth; i++)
RenderLayer(i, 0, 0);
RenderLayer(i, associated.box.x, associated.box.y);
}

void TileMap::Update(float dt)
Expand Down

0 comments on commit 316d199

Please sign in to comment.