Explorar o código

Fixed bug 187.

Frank Zago %!s(int64=16) %!d(string=hai) anos
pai
achega
20c4fbd25c
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      hch/CObjectHandler.cpp

+ 2 - 2
hch/CObjectHandler.cpp

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