mirror of
https://github.com/vcmi/vcmi.git
synced 2025-12-20 00:22:54 +02:00
The last set of fixes for non-combined artifacts operations.
This commit is contained in:
@@ -716,9 +716,8 @@ DLL_EXPORT void MoveArtifact::applyGs( CGameState *gs )
|
||||
CArtifactInstance *a = src.getArt();
|
||||
if(dst.slot < Arts::BACKPACK_START)
|
||||
assert(!dst.getArt());
|
||||
|
||||
a->removeFrom(src.hero, src.slot);
|
||||
a->putAt(dst.hero, dst.slot);
|
||||
|
||||
a->move(src, dst);
|
||||
}
|
||||
|
||||
DLL_EXPORT void SetAvailableArtifacts::applyGs( CGameState *gs )
|
||||
|
||||
Reference in New Issue
Block a user