mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
CGPandoraBox: don't use giveCreatures object removal feature
For pandora box there's own removal function and for CGEvent based on it we sometimes don't want to remove object at all.
This commit is contained in:
@@ -254,7 +254,7 @@ void CGPandoraBox::giveContentsAfterExp(const CGHeroInstance *h) const
|
|||||||
iw.text.addReplacement(h->name);
|
iw.text.addReplacement(h->name);
|
||||||
|
|
||||||
cb->showInfoDialog(&iw);
|
cb->showInfoDialog(&iw);
|
||||||
cb->giveCreatures(this, h, creatures, true);
|
cb->giveCreatures(this, h, creatures, false);
|
||||||
}
|
}
|
||||||
if(!hasGuardians && msg.size())
|
if(!hasGuardians && msg.size())
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user