summaryrefslogtreecommitdiff
path: root/src/graphic/image.h
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2004-12-20 08:08:32 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2004-12-20 08:08:32 +0000
commit41b0b5c0ed80d812d13c8c92d286a8663084ec58 (patch)
tree26e968bb48a886bccf8aa17e8064e6f3b8f2bc5d /src/graphic/image.h
parent1883b8b5e20506e41f31bdf6b802fbfd3f63f961 (diff)
downloadmana-41b0b5c0ed80d812d13c8c92d286a8663084ec58.tar.gz
mana-41b0b5c0ed80d812d13c8c92d286a8663084ec58.tar.bz2
mana-41b0b5c0ed80d812d13c8c92d286a8663084ec58.tar.xz
mana-41b0b5c0ed80d812d13c8c92d286a8663084ec58.zip
Updated Debian package, some fixes, new classes for the new graphic engine
Diffstat (limited to 'src/graphic/image.h')
-rw-r--r--src/graphic/image.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/graphic/image.h b/src/graphic/image.h
index 9d9e42c3..b5944b3e 100644
--- a/src/graphic/image.h
+++ b/src/graphic/image.h
@@ -175,6 +175,13 @@ class Spriteset {
i++;
}
}
+ /**
+ * Destoy a spriteset
+ */
+ ~Spriteset() {
+ for(int i=0;i<spriteset.size();i++)
+ delete spriteset[i];
+ }
};
#endif