CCreatureHandler: fix positive morale
@@ -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;
}
};