Frank Zago 15 лет назад
Родитель
Сommit
3459819a8f
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      client/CPlayerInterface.cpp

+ 2 - 2
client/CPlayerInterface.cpp

@@ -1123,7 +1123,7 @@ void CPlayerInterface::showArtifactAssemblyDialog (ui32 artifactID, ui32 assembl
 
 
 		// Picture of assembled artifact at bottom.
 		// Picture of assembled artifact at bottom.
 		SComponent* sc = new SComponent;
 		SComponent* sc = new SComponent;
-		sc->type = SComponent::Etype::artifact;
+		sc->type = SComponent::artifact;
 		sc->subtype = assembledArtifact.id;
 		sc->subtype = assembledArtifact.id;
 		sc->description = assembledArtifact.Description();
 		sc->description = assembledArtifact.Description();
 		sc->subtitle = assembledArtifact.Name();
 		sc->subtitle = assembledArtifact.Name();
@@ -1947,4 +1947,4 @@ void CPlayerInterface::tryDiggging(const CGHeroInstance *h)
 		else
 		else
 			cb->dig(h);
 			cb->dig(h);
 	}
 	}
-}
+}