1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00
This commit is contained in:
Frank Zago
2009-08-20 01:56:00 +00:00
parent d8c2055809
commit 655daf238f

View File

@@ -2788,7 +2788,7 @@ void CGPandoraBox::open( const CGHeroInstance * h, ui32 accept ) const
{ {
if (accept) if (accept)
{ {
if (army) //if pandora's box is protested by army if (army) //if pandora's box is protected by army
{ {
InfoWindow iw; InfoWindow iw;
iw.player = h->tempOwner; iw.player = h->tempOwner;
@@ -3338,7 +3338,7 @@ void CGOnceVisitable::onHeroVisit( const CGHeroInstance * h ) const
if(players.size()) //we have been already visited... if(players.size()) //we have been already visited...
{ {
txtid++; txtid++;
if(ID == 105) //wagon has extra text (for finding art) we need to ommit if(ID == 105) //wagon has extra text (for finding art) we need to omit
txtid++; txtid++;
iw.text.addTxt(MetaString::ADVOB_TXT, txtid); iw.text.addTxt(MetaString::ADVOB_TXT, txtid);