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:
@@ -1097,7 +1097,7 @@ void CCreatureHandler::loadStackExp(Bonus & b, BonusList & bl, CLegacyConfigPars
|
|||||||
case 'F':
|
case 'F':
|
||||||
b.type = BonusType::FLYING; break;
|
b.type = BonusType::FLYING; break;
|
||||||
case 'm':
|
case 'm':
|
||||||
b.type = BonusType::MORALE; break;
|
b.type = BonusType::MORALE;
|
||||||
b.val = 1;
|
b.val = 1;
|
||||||
b.valType = BonusValueType::INDEPENDENT_MAX;
|
b.valType = BonusValueType::INDEPENDENT_MAX;
|
||||||
break;
|
break;
|
||||||
|
@@ -160,7 +160,7 @@ public:
|
|||||||
h & x;
|
h & x;
|
||||||
h & y;
|
h & y;
|
||||||
h & w;
|
h & w;
|
||||||
h & h;
|
h & this->h;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user