1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00

Fix empty Pandora message

This commit is contained in:
Tomasz Zieliński
2023-06-15 22:06:31 +02:00
parent 71a4713df4
commit 190244369c

View File

@@ -331,7 +331,7 @@ void CGPandoraBox::blockingDialogAnswered(const CGHeroInstance *hero, ui32 answe
else if(message.empty() && resources.empty()
&& primskills.empty() && abilities.empty()
&& abilityLevels.empty() && artifacts.empty()
&& spells.empty() && creatures.stacksCount() > 0
&& spells.empty() && creatures.stacksCount() == 0
&& gainedExp == 0 && manaDiff == 0 && moraleDiff == 0 && luckDiff == 0) //if it gives nothing without battle
{
hero->showInfoDialog(15);