mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Converted creature ID and spell ID to new form
This commit is contained in:
@@ -155,7 +155,7 @@ void CGameStateCampaign::trimCrossoverHeroesParameters(std::vector<CampaignHeroR
|
||||
{
|
||||
auto shouldSlotBeErased = [&](const std::pair<SlotID, CStackInstance *> & j) -> bool
|
||||
{
|
||||
CreatureID::ECreatureID crid = j.second->getCreatureID().toEnum();
|
||||
CreatureID crid = j.second->getCreatureID();
|
||||
return !travelOptions.monstersKeptByHero.count(crid);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user