瀏覽代碼

Update client/widgets/CWindowWithArtifacts.cpp

Co-authored-by: SoundSSGood <[email protected]>
Dydzio 1 年之前
父節點
當前提交
316c5986f7
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      client/widgets/CWindowWithArtifacts.cpp

+ 1 - 1
client/widgets/CWindowWithArtifacts.cpp

@@ -204,7 +204,7 @@ void CWindowWithArtifacts::clickPressedArtPlaceHero(CArtifactsOfHeroBase & artsI
 							}
 							else
 							{
-								LOCPLINT->cb->swapArtifacts(ArtifactLocation(artPlace.slot),
+								LOCPLINT->cb->swapArtifacts(ArtifactLocation(artSetPtr->getHero()->id, artPlace.slot),
 									ArtifactLocation(artSetPtr->getHero()->id, ArtifactPosition::TRANSITION_POS));
 							}
 						}