Frank Zago hace 16 años
padre
commit
3459819a8f
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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.
 		SComponent* sc = new SComponent;
-		sc->type = SComponent::Etype::artifact;
+		sc->type = SComponent::artifact;
 		sc->subtype = assembledArtifact.id;
 		sc->description = assembledArtifact.Description();
 		sc->subtitle = assembledArtifact.Name();
@@ -1947,4 +1947,4 @@ void CPlayerInterface::tryDiggging(const CGHeroInstance *h)
 		else
 			cb->dig(h);
 	}
-}
+}