mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-04 23:17:41 +02:00
Merge pull request #2234 from vcmi/fix_pandora
Fix empty Pandora message
This commit is contained in:
commit
c448f6275e
@ -331,7 +331,7 @@ void CGPandoraBox::blockingDialogAnswered(const CGHeroInstance *hero, ui32 answe
|
|||||||
else if(message.empty() && resources.empty()
|
else if(message.empty() && resources.empty()
|
||||||
&& primskills.empty() && abilities.empty()
|
&& primskills.empty() && abilities.empty()
|
||||||
&& abilityLevels.empty() && artifacts.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
|
&& gainedExp == 0 && manaDiff == 0 && moraleDiff == 0 && luckDiff == 0) //if it gives nothing without battle
|
||||||
{
|
{
|
||||||
hero->showInfoDialog(15);
|
hero->showInfoDialog(15);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user