Skip to content
Permalink
Browse files

fix 2241

  • Loading branch information
alexvins committed Sep 15, 2015
1 parent d181d76 commit b0c039bd7f9a971ce7575cc1f2fb9832247a29ca
Showing with 5 additions and 1 deletion.
  1. +5 −1 server/CQuery.cpp
@@ -297,7 +297,11 @@ bool CGarrisonDialogQuery::blocksPack(const CPack *pack) const
{
return !vstd::contains(ourIds, dismiss->heroID);
}


if(auto upgrade = dynamic_cast<const UpgradeCreature*>(pack))
{
return !vstd::contains(ourIds, upgrade->id);
}
return CDialogQuery::blocksPack(pack);
}

0 comments on commit b0c039b

Please sign in to comment.
You can’t perform that action at this time.