mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-17 00:07:41 +02:00
class CArtifactsOfHeroMain : public CKeyShortcut
This commit is contained in:
@ -1078,7 +1078,7 @@ void ChangeArtifactsCostume::applyGs(CGameState * gs) const
|
||||
if(const auto & costume = allCostumes.find(costumeIdx); costume != allCostumes.end())
|
||||
costume->second = costumeSet;
|
||||
else
|
||||
allCostumes.emplace(costumeIdx, costumeSet);
|
||||
allCostumes.try_emplace(costumeIdx, costumeSet);
|
||||
}
|
||||
|
||||
void PlayerEndsGame::applyGs(CGameState * gs) const
|
||||
|
Reference in New Issue
Block a user