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