1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-01 00:45:26 +02:00

- Fixed AI crash at "gather resource" quest

- AI will now understand threat of Abandoned Mine. For sure.
- Fixed incorrect creeps quantities info
This commit is contained in:
DjWarmonger
2012-08-08 08:27:52 +00:00
parent cd63c177e2
commit 55f321f3f3
3 changed files with 16 additions and 9 deletions

View File

@ -2933,7 +2933,7 @@ const std::string & CGCreature::getHoverText() const
{
MetaString ms;
int pom = stacks.begin()->second->getQuantityID();
pom = 174 + 3*pom + 1;
pom = 172 + 3*pom;
ms << std::pair<ui8,ui32>(6,pom) << " " << std::pair<ui8,ui32>(7,subID);
ms.toString(hoverName);