mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
Fix assertion
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user