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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user