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

Merge pull request #2329 from rilian-la-te/fix-M-stack

CCreatureHandler: fix positive morale
This commit is contained in:
Ivan Savenko
2023-07-15 19:46:40 +03:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -1097,7 +1097,7 @@ void CCreatureHandler::loadStackExp(Bonus & b, BonusList & bl, CLegacyConfigPars
case 'F':
b.type = BonusType::FLYING; break;
case 'm':
b.type = BonusType::MORALE; break;
b.type = BonusType::MORALE;
b.val = 1;
b.valType = BonusValueType::INDEPENDENT_MAX;
break;

View File

@@ -160,7 +160,7 @@ public:
h & x;
h & y;
h & w;
h & h;
h & this->h;
}
};