diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2004-12-12 16:18:13 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2004-12-12 16:18:13 +0000 |
commit | 197b684831c9701635fd140bbb06a6c2b3f0fcc7 (patch) | |
tree | 035d637cba6634d9195094213d80679838fd925e /src/graphic/image.h | |
parent | 72d8e5065d6c2bdb4c941e91d4280b48afc6d602 (diff) | |
download | mana-197b684831c9701635fd140bbb06a6c2b3f0fcc7.tar.gz mana-197b684831c9701635fd140bbb06a6c2b3f0fcc7.tar.bz2 mana-197b684831c9701635fd140bbb06a6c2b3f0fcc7.tar.xz mana-197b684831c9701635fd140bbb06a6c2b3f0fcc7.zip |
Chat input field to Guichan.
Diffstat (limited to 'src/graphic/image.h')
-rw-r--r-- | src/graphic/image.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/graphic/image.h b/src/graphic/image.h index bd3545e3..a9b7e8cd 100644 --- a/src/graphic/image.h +++ b/src/graphic/image.h @@ -26,7 +26,7 @@ class RLE_IMAGE : public IMAGE { RLE_IMAGE(RLE_SPRITE *src, int offset_x, int offset_y) : IMAGE(offset_x, offset_y) { this->src = src; } - ~RLE_IMAGE() { + virtual ~RLE_IMAGE() { destroy_rle_sprite(src); } void draw(BITMAP *dest, int x, int y) { @@ -41,7 +41,7 @@ class VIDEO_IMAGE : public IMAGE { VIDEO_IMAGE(BITMAP *src, int offset_x, int offset_y) : IMAGE(offset_x, offset_y) { this->src = src; } - ~VIDEO_IMAGE() { + virtual ~VIDEO_IMAGE() { destroy_bitmap(src); } void draw(BITMAP *dest, int x, int y) { |