diff options
Diffstat (limited to 'engines/cge2/hero.cpp')
-rw-r--r-- | engines/cge2/hero.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/cge2/hero.cpp b/engines/cge2/hero.cpp index cebfe73295..c9b8dc5a13 100644 --- a/engines/cge2/hero.cpp +++ b/engines/cge2/hero.cpp @@ -40,6 +40,10 @@ Hero::Hero(CGE2Engine *vm) } } +Hero::~Hero() { + contract(); +} + Sprite *Hero::expand() { // It's very similar to Sprite's expand, but doesn't bother with "labels" for example. TODO: Try to unify the two later! if (_ext) return this; |