fix: compiler error

This commit is contained in:
2021-11-06 16:12:19 +01:00
parent c5289cb1b0
commit 672e4c2f03

View File

@@ -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 });