diff options
Diffstat (limited to 'src/resources/sprite')
-rw-r--r-- | src/resources/sprite/sprite.h | 2 | ||||
-rw-r--r-- | src/resources/sprite/spritedisplay.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/resources/sprite/sprite.h b/src/resources/sprite/sprite.h index a95a583a9..0b75feb73 100644 --- a/src/resources/sprite/sprite.h +++ b/src/resources/sprite/sprite.h @@ -32,6 +32,8 @@ class Image; class Sprite notfinal { public: + A_DELETE_COPY(Sprite) + virtual ~Sprite() { } diff --git a/src/resources/sprite/spritedisplay.h b/src/resources/sprite/spritedisplay.h index ae713379b..47b13f2af 100644 --- a/src/resources/sprite/spritedisplay.h +++ b/src/resources/sprite/spritedisplay.h @@ -39,6 +39,8 @@ struct SpriteDisplay final { } + A_DEFAULT_COPY(SpriteDisplay) + std::string image; std::string floor; std::vector<SpriteReference*> sprites; |