summaryrefslogtreecommitdiff
path: root/src/graphic/image.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2004-12-12 16:18:13 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2004-12-12 16:18:13 +0000
commit197b684831c9701635fd140bbb06a6c2b3f0fcc7 (patch)
tree035d637cba6634d9195094213d80679838fd925e /src/graphic/image.h
parent72d8e5065d6c2bdb4c941e91d4280b48afc6d602 (diff)
downloadmana-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.h4
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) {