mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Added initiator-player to packs that add/remove/move objects
This commit is contained in:
@@ -196,7 +196,7 @@ void CGPandoraBox::blockingDialogAnswered(const CGHeroInstance *hero, ui32 answe
|
||||
else if(getAvailableRewards(hero, Rewardable::EEventType::EVENT_FIRST_VISIT).empty())
|
||||
{
|
||||
hero->showInfoDialog(15);
|
||||
cb->removeObject(this);
|
||||
cb->removeObject(this, hero->getOwner());
|
||||
}
|
||||
else //if it gives something without battle
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user