소스 검색

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));
 							}
 						}