1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00

Fix assertion

This commit is contained in:
Ivan Savenko 2023-06-01 11:34:26 +03:00
parent fce5f9f907
commit 2f9073e13a
2 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ struct DLL_LINKAGE CampaignRegions
class DLL_LINKAGE CCampaignHeader
{
public:
si32 version = 0; //4 - RoE, 5 - AB, 6 - SoD and WoG
si32 version = 0; //4 - RoE, 5 - AB, 6 - SoD, WoG and HotA
CampaignRegions campaignRegions;
int numberOfScenarios = 0;
std::string name, description;

View File

@ -135,7 +135,7 @@ MapFormatFeaturesH3M MapFormatFeaturesH3M::getFeaturesHOTA(uint32_t hotaVersion)
if(hotaVersion < 3)
{
result.artifactsCount = 163; // + HotA artifacts
result.heroesCount = 176; // + Cove
result.heroesCount = 177; // + Cove
result.heroesPortraitsCount = 187; // + Cove
}
if(hotaVersion == 3)