Ver Fonte

Fixed bug 187.

Frank Zago há 16 anos atrás
pai
commit
20c4fbd25c
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      hch/CObjectHandler.cpp

+ 2 - 2
hch/CObjectHandler.cpp

@@ -3846,8 +3846,8 @@ void CGOnceVisitable::onHeroVisit( const CGHeroInstance * h ) const
 	{
 	{
 		switch(artOrRes)
 		switch(artOrRes)
 		{
 		{
-		case 0:
-			txtid++;
+		case 0: // first visit but empty
+			txtid+=2;
 			break;
 			break;
 		case 1: //art
 		case 1: //art
 			iw.components.push_back(Component(Component::ARTIFACT,bonusType,0,0));
 			iw.components.push_back(Component(Component::ARTIFACT,bonusType,0,0));