mirror of
https://github.com/vcmi/vcmi.git
synced 2025-12-01 23:12:49 +02:00
ArtifactLocation now use ID for artHolder identification part2
This commit is contained in:
@@ -870,7 +870,7 @@ ArtBearer::ArtBearer CStackInstance::bearerType() const
|
||||
CStackInstance::ArtPlacementMap CStackInstance::putArtifact(ArtifactPosition pos, CArtifactInstance * art)
|
||||
{
|
||||
assert(!getArt(pos));
|
||||
assert(art->artType->canBePutAt(this, pos));
|
||||
assert(art->canBePutAt(this, pos));
|
||||
|
||||
attachTo(*art);
|
||||
return CArtifactSet::putArtifact(pos, art);
|
||||
|
||||
Reference in New Issue
Block a user