mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
- Bug fix to previous commit
This commit is contained in:
@@ -155,6 +155,7 @@ CMapHeader::~CMapHeader()
|
|||||||
|
|
||||||
CMap::CMap() : checksum(0), grailPos(-1, -1, -1), grailRadious(0), terrain(nullptr)
|
CMap::CMap() : checksum(0), grailPos(-1, -1, -1), grailRadious(0), terrain(nullptr)
|
||||||
{
|
{
|
||||||
|
allHeroes.resize(allowedHeroes.size());
|
||||||
allowedAbilities = VLC->heroh->getDefaultAllowedAbilities();
|
allowedAbilities = VLC->heroh->getDefaultAllowedAbilities();
|
||||||
allowedArtifact = VLC->arth->getDefaultAllowed();
|
allowedArtifact = VLC->arth->getDefaultAllowed();
|
||||||
allowedSpell = VLC->spellh->getDefaultAllowed();
|
allowedSpell = VLC->spellh->getDefaultAllowed();
|
||||||
|
Reference in New Issue
Block a user