diff --git a/src/render/WorldRenderer.cpp b/src/render/WorldRenderer.cpp index 7d8cf6d..423c94e 100644 --- a/src/render/WorldRenderer.cpp +++ b/src/render/WorldRenderer.cpp @@ -184,7 +184,7 @@ void WorldRenderer::renderTowerUpgradePopup() { if (x > 0) ImGui::SameLine(); - int currentLevel = x + 1; + std::uint8_t currentLevel = x + 1; game::TowerPath currentPath = game::TowerPath(y); const game::TowerStats* towerStats = game::getTowerStats(tower->getType(), { currentLevel, currentPath });