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:
@@ -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 };
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user