mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
HAS_CHARGES_LIMITER
This commit is contained in:
@@ -946,6 +946,9 @@ void GameStatePackVisitor::visitDischargeArtifact(DischargeArtifact & pack)
|
||||
ePack.posPack.push_back(pack.artLoc.value().slot);
|
||||
ePack.visit(*this);
|
||||
}
|
||||
// Workaround to inform hero bonus node about changes. Obviously this has to be done somehow differently.
|
||||
if(pack.artLoc.has_value())
|
||||
gs.getHero(pack.artLoc.value().artHolder)->nodeHasChanged();
|
||||
}
|
||||
|
||||
void GameStatePackVisitor::visitAssembledArtifact(AssembledArtifact & pack)
|
||||
|
||||
Reference in New Issue
Block a user