Преглед на файлове

Merge pull request #5687 from kdmcser/fix_commander_artifacts

fix commander artifacts inactive when loading game
Ivan Savenko преди 7 месеца
родител
ревизия
fe276374ef
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  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);