1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Merge remote-tracking branch 'origin/develop' into ban_stuff_on_water_maps

This commit is contained in:
Tomasz Zieliński
2023-07-16 18:54:50 +02:00
76 changed files with 1970 additions and 925 deletions

View File

@@ -56,10 +56,10 @@ struct DLL_LINKAGE DisposedHero
{
DisposedHero();
ui32 heroId;
ui32 portrait; /// The portrait id of the hero, -1 is default.
HeroTypeID heroId;
HeroTypeID portrait; /// The portrait id of the hero, -1 is default.
std::string name;
ui8 players; /// Who can hire this hero (bitfield).
PlayerColor::Mask players; /// Who can hire this hero (bitfield).
template <typename Handler>
void serialize(Handler & h, const int version)