mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Fix campaigns progression
This commit is contained in:
@@ -394,6 +394,9 @@ void CGameStateCampaign::transferMissingArtifacts(const CampaignTravel & travelO
|
||||
|
||||
for(auto hero : gameState->map->getObjects<CGHeroInstance>())
|
||||
{
|
||||
if (!hero->getOwner().isValidPlayer())
|
||||
continue; // prisons
|
||||
|
||||
if (gameState->getPlayerState(hero->getOwner())->isHuman())
|
||||
{
|
||||
receiver = hero;
|
||||
|
||||
Reference in New Issue
Block a user