|
@@ -162,9 +162,9 @@ public:
|
|
|
/// of itself, additionally truth is returned for constituents of combined arts
|
|
|
virtual bool isPart(const CArtifactInstance *supposedPart) const;
|
|
|
|
|
|
- void putAt(ArtifactLocation al);
|
|
|
- void removeFrom(ArtifactLocation al);
|
|
|
- void move(const ArtifactLocation & src,const ArtifactLocation & dst);
|
|
|
+ virtual void putAt(ArtifactLocation al);
|
|
|
+ virtual void removeFrom(ArtifactLocation al);
|
|
|
+ virtual void move(const ArtifactLocation & src, const ArtifactLocation & dst);
|
|
|
|
|
|
template <typename Handler> void serialize(Handler &h, const int version)
|
|
|
{
|
|
@@ -198,6 +198,7 @@ public:
|
|
|
bool isPart(const CArtifactInstance *supposedPart) const override;
|
|
|
void createConstituents();
|
|
|
void addAsConstituent(CArtifactInstance * art, const ArtifactPosition & slot);
|
|
|
+ void removeFrom(ArtifactLocation al) override;
|
|
|
|
|
|
CCombinedArtifactInstance() = default;
|
|
|
|