mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-24 08:32:34 +02:00
Fix assertion
This commit is contained in:
parent
fce5f9f907
commit
2f9073e13a
@ -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;
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user