Browse Source

Merge pull request #5687 from kdmcser/fix_commander_artifacts

fix commander artifacts inactive when loading game
Ivan Savenko 5 months ago
parent
commit
fe276374ef
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lib/mapObjects/CGHeroInstance.cpp

+ 1 - 0
lib/mapObjects/CGHeroInstance.cpp

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