|
@@ -277,6 +277,8 @@ void ApplyClientNetPackVisitor::visitMoveArtifact(MoveArtifact & pack)
|
|
|
moveArtifact(pack.src.owningPlayer());
|
|
|
if(pack.src.owningPlayer() != pack.dst.owningPlayer())
|
|
|
moveArtifact(pack.dst.owningPlayer());
|
|
|
+
|
|
|
+ cl.invalidatePaths(); // hero might have equipped/unequipped Angel Wings
|
|
|
}
|
|
|
|
|
|
void ApplyClientNetPackVisitor::visitBulkMoveArtifacts(BulkMoveArtifacts & pack)
|
|
@@ -303,11 +305,15 @@ void ApplyClientNetPackVisitor::visitBulkMoveArtifacts(BulkMoveArtifacts & pack)
|
|
|
void ApplyClientNetPackVisitor::visitAssembledArtifact(AssembledArtifact & pack)
|
|
|
{
|
|
|
callInterfaceIfPresent(cl, pack.al.owningPlayer(), &IGameEventsReceiver::artifactAssembled, pack.al);
|
|
|
+
|
|
|
+ cl.invalidatePaths(); // hero might have equipped/unequipped Angel Wings
|
|
|
}
|
|
|
|
|
|
void ApplyClientNetPackVisitor::visitDisassembledArtifact(DisassembledArtifact & pack)
|
|
|
{
|
|
|
callInterfaceIfPresent(cl, pack.al.owningPlayer(), &IGameEventsReceiver::artifactDisassembled, pack.al);
|
|
|
+
|
|
|
+ cl.invalidatePaths(); // hero might have equipped/unequipped Angel Wings
|
|
|
}
|
|
|
|
|
|
void ApplyClientNetPackVisitor::visitHeroVisit(HeroVisit & pack)
|