1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

attempt to fix the build

This commit is contained in:
SoundSSGood
2022-11-07 14:20:28 +02:00
parent 203c54e956
commit 3a3b559a0b
4 changed files with 11 additions and 14 deletions

View File

@@ -295,9 +295,9 @@ void BulkMoveArtifacts::applyCl(CClient * cl)
callInterfaceIfPresent(cl, dstLoc.owningPlayer(), &IGameEventsReceiver::artifactMoved, srcLoc, dstLoc);
}
if (artsPack1.has_value())
if (swap)
{
movingArts = artsPack1.value();
movingArts = artsPack1;
for (auto & slotToMove : movingArts)
{
auto srcLoc = ArtifactLocation(srcArtHolder, slotToMove.srcPos);