From 3459819a8f073d3774156eb4e9960435e354da14 Mon Sep 17 00:00:00 2001 From: Frank Zago Date: Sat, 27 Feb 2010 15:59:21 +0000 Subject: [PATCH] Compile fix. --- client/CPlayerInterface.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/CPlayerInterface.cpp b/client/CPlayerInterface.cpp index a9ae9ae59..a2ae6a6d9 100644 --- a/client/CPlayerInterface.cpp +++ b/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); } -} \ No newline at end of file +}