1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-28 03:57:02 +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
commit 1c55835b8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;
}
};