mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
Compile fix.
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user