1
0
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:
Michał W. Urbańczyk
2011-01-15 17:58:08 +00:00
parent 7b0188a941
commit 502bb5392e
4 changed files with 16 additions and 7 deletions

View File

@@ -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 )