Skip to content

Commit

Permalink
"0001766: Disassembling artifacts in hero and hero meeting screen doe…
Browse files Browse the repository at this point in the history
…sn't work." fix
  • Loading branch information
Haryaalcar committed Jun 14, 2014
1 parent e468e84 commit fee9f0c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions server/CQuery.cpp
Expand Up @@ -293,6 +293,11 @@ bool CGarrisonDialogQuery::blocksPack(const CPack *pack) const
return !vstd::contains(ourIds, dismiss->id);
}

if (auto dismiss = dynamic_cast<const AssembleArtifacts*>(pack))
{
return !vstd::contains(ourIds, dismiss->heroID);
}

return CDialogQuery::blocksPack(pack);
}

Expand Down

0 comments on commit fee9f0c

Please sign in to comment.