浏览代码

Compile fix.

Frank Zago 15 年之前
父节点
当前提交
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.
 		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);
 	}
-}
+}