|
@@ -709,7 +709,8 @@ void CGWhirlpool::teleportDialogAnswered(const CGHeroInstance *hero, ui32 answer
|
|
|
bool CGWhirlpool::isProtected(const CGHeroInstance * h)
|
|
|
{
|
|
|
return h->hasBonusOfType(BonusType::WHIRLPOOL_PROTECTION)
|
|
|
- || (h->stacksCount() == 1 && h->Slots().begin()->second->count == 1);
|
|
|
+ || (h->stacksCount() == 1 && h->Slots().begin()->second->count == 1)
|
|
|
+ || (h->stacksCount() == 0 && h->commander && h->commander->alive);
|
|
|
}
|
|
|
|
|
|
ArtifactID CGArtifact::getArtifact() const
|