mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-10 22:31:40 +02:00
Merge pull request #5687 from kdmcser/fix_commander_artifacts
fix commander artifacts inactive when loading game
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user