diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2004-12-20 08:08:32 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2004-12-20 08:08:32 +0000 |
commit | 41b0b5c0ed80d812d13c8c92d286a8663084ec58 (patch) | |
tree | 26e968bb48a886bccf8aa17e8064e6f3b8f2bc5d /src/graphic/image.h | |
parent | 1883b8b5e20506e41f31bdf6b802fbfd3f63f961 (diff) | |
download | mana-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.h | 7 |
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 |