mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
Backpack limit part4 (Using cheats, buying)
This commit is contained in:
@@ -843,7 +843,7 @@ void CExchangeController::moveArtifact(
|
||||
{
|
||||
auto srcLocation = ArtifactLocation(source, srcPosition);
|
||||
auto dstLocation = ArtifactLocation(target,
|
||||
ArtifactUtils::getArtifactDstPosition(source->getArt(srcPosition)->artType->getId(), target));
|
||||
ArtifactUtils::getArtAnyPosition(target, source->getArt(srcPosition)->artType->getId()));
|
||||
|
||||
cb->swapArtifacts(srcLocation, dstLocation);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user