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:
commit
1c55835b8b
@ -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;
|
||||
|
@ -160,7 +160,7 @@ public:
|
||||
h & x;
|
||||
h & y;
|
||||
h & w;
|
||||
h & h;
|
||||
h & this->h;
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user