1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-02-03 13:01:33 +02:00
This commit is contained in:
Laserlicht 2024-07-25 10:30:57 +02:00 committed by GitHub
parent bfd1e8a7c8
commit 6273e678a4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View File

@ -624,6 +624,8 @@ void CVCMIServer::updateStartInfoOnMapChange(std::shared_ptr<CMapInfo> mapInfo,
pset.heroNameTextId = pinfo.mainCustomHeroNameTextId;
pset.heroPortrait = pinfo.mainCustomHeroPortrait;
}
pset.handicapLegacy = PlayerSettings::NO_HANDICAP;
}
if(mi->isRandomMap && mapGenOpts)

View File

@ -176,7 +176,7 @@ public:
pset.heroPortrait = HeroTypeID(pinfo.mainCustomHeroPortrait);
}
pset.handicap = PlayerSettings::NO_HANDICAP;
pset.handicapLegacy = PlayerSettings::NO_HANDICAP;
}