mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
artifacts swap optimization
This commit is contained in:
@@ -301,7 +301,7 @@ void ApplyClientNetPackVisitor::visitBulkMoveArtifacts(BulkMoveArtifacts & pack)
|
||||
{
|
||||
auto srcLoc = ArtifactLocation(pack.srcArtHolder, slotToMove.srcPos);
|
||||
auto dstLoc = ArtifactLocation(pack.dstArtHolder, slotToMove.dstPos);
|
||||
MoveArtifact ma(&srcLoc, &dstLoc, false);
|
||||
MoveArtifact ma(&srcLoc, &dstLoc, pack.askAssemble);
|
||||
visitMoveArtifact(ma);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user