fix: compiler error
This commit is contained in:
@@ -184,7 +184,7 @@ void WorldRenderer::renderTowerUpgradePopup() {
|
|||||||
if (x > 0)
|
if (x > 0)
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
|
|
||||||
int currentLevel = x + 1;
|
std::uint8_t currentLevel = x + 1;
|
||||||
game::TowerPath currentPath = game::TowerPath(y);
|
game::TowerPath currentPath = game::TowerPath(y);
|
||||||
|
|
||||||
const game::TowerStats* towerStats = game::getTowerStats(tower->getType(), { currentLevel, currentPath });
|
const game::TowerStats* towerStats = game::getTowerStats(tower->getType(), { currentLevel, currentPath });
|
||||||
|
|||||||
Reference in New Issue
Block a user