mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Update server/CGameHandler.cpp
Co-authored-by: Nordsoft91 <nordsoft@yahoo.com>
This commit is contained in:
parent
ff63167553
commit
f2afd9e831
@ -3984,8 +3984,8 @@ bool CGameHandler::bulkSwapArtifacts(ObjectInstanceID leftHero, ObjectInstanceID
|
||||
static_cast<ConstTransitivePtr<CGHeroInstance>>(prightHero), true);
|
||||
ma.srcArtHolder = static_cast<ConstTransitivePtr<CGHeroInstance>>(prightHero);
|
||||
ma.dstArtHolder = static_cast<ConstTransitivePtr<CGHeroInstance>>(pleftHero);
|
||||
auto slotsLeftRight = &ma.artsPack0;
|
||||
auto slotsRightLeft = &ma.artsPack1;
|
||||
auto & slotsLeftRight = ma.artsPack0;
|
||||
auto & slotsRightLeft = ma.artsPack1;
|
||||
|
||||
auto moveArtsWorn = [this](const CGHeroInstance * srcHero, const CGHeroInstance * dstHero,
|
||||
std::vector<BulkMoveArtifacts::LinkedSlots> * slots) -> void
|
||||
|
Loading…
Reference in New Issue
Block a user