1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00

Minor fix.

This commit is contained in:
Michał W. Urbańczyk
2011-01-28 02:16:38 +00:00
parent a75a37008f
commit e5bf71538f

View File

@@ -5061,7 +5061,7 @@ void CGameHandler::moveArtifact(const ArtifactLocation &al1, const ArtifactLocat
void CGameHandler::giveHeroNewArtifact(const CGHeroInstance *h, const CArtifact *artType, int pos)
{
CArtifactInstance *a = NULL;
if(artType->constituents)
if(!artType->constituents)
a = new CArtifactInstance();
else
a = new CCombinedArtifactInstance();