1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Remove hardcoded checks for Conflux and Inferno Grails

This commit is contained in:
Ivan Savenko
2025-10-28 11:57:20 +02:00
parent 152e7ed74b
commit 8e74797650
8 changed files with 24 additions and 32 deletions

View File

@@ -512,7 +512,7 @@ std::tuple<EWeekType, CreatureID> NewTurnProcessor::pickWeekType(bool newMonth)
for (const auto & townID : gameHandler->gameState().getMap().getAllTowns())
{
const auto * t = gameHandler->gameState().getTown(townID);
if (t->hasBuilt(BuildingID::GRAIL, ETownType::INFERNO))
if (t->hasBuilt(BuildingSubID::DEITY_OF_FIRE))
return { EWeekType::DEITYOFFIRE, CreatureID::IMP };
}