1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-19 00:17:56 +02:00

fix commander artifacts inactive when loading game

This commit is contained in:
kdmcser
2025-05-05 23:01:43 +08:00
parent ac26b3ed9b
commit aebe4932fb

View File

@ -1337,6 +1337,7 @@ void CGHeroInstance::restoreBonusSystem(CGameState & gs)
{ {
CArmedInstance::restoreBonusSystem(gs); CArmedInstance::restoreBonusSystem(gs);
artDeserializationFix(gs, this); artDeserializationFix(gs, this);
this->commander->artDeserializationFix(gs, this->commander.get());
if (boardedBoat.hasValue()) if (boardedBoat.hasValue())
{ {
auto boat = gs.getObjInstance(boardedBoat); auto boat = gs.getObjInstance(boardedBoat);