diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/cge2/vga13h.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/cge2/vga13h.cpp b/engines/cge2/vga13h.cpp index 22bd4f4a18..ada6642831 100644 --- a/engines/cge2/vga13h.cpp +++ b/engines/cge2/vga13h.cpp @@ -94,7 +94,10 @@ Sprite::Sprite(CGE2Engine *vm, BitmapPtr *shpP) } Sprite::~Sprite() { - warning("STUB: Sprite::~Sprite()"); + if (_vm->_sprite == this) + _vm->_sprite = NULL; + + contract(); } BitmapPtr Sprite::shp() { |