Skip to content
Browse files

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.
  • Loading branch information
ArseniyShestakov committed Feb 17, 2016
1 parent 4d9058e commit 07961766ca1a9461ef2b7d6d3a744ec49395cfdd
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/mapObjects/CGPandoraBox.cpp
@@ -254,7 +254,7 @@ void CGPandoraBox::giveContentsAfterExp(const CGHeroInstance *h) const

cb->giveCreatures(this, h, creatures, true);
cb->giveCreatures(this, h, creatures, false);
if(!hasGuardians && msg.size())

0 comments on commit 0796176

Please sign in to comment.
You can’t perform that action at this time.