Browse Source

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.
Arseniy Shestakov 9 years ago
parent
commit
07961766ca
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/mapObjects/CGPandoraBox.cpp

+ 1 - 1
lib/mapObjects/CGPandoraBox.cpp

@@ -254,7 +254,7 @@ void CGPandoraBox::giveContentsAfterExp(const CGHeroInstance *h) const
 		iw.text.addReplacement(h->name);
 
 		cb->showInfoDialog(&iw);
-		cb->giveCreatures(this, h, creatures, true);
+		cb->giveCreatures(this, h, creatures, false);
 	}
 	if(!hasGuardians && msg.size())
 	{