CGE2: Add destructor to Spare.

This commit is contained in:
uruk 2014-05-13 08:48:48 +02:00
parent 631e9ef37e
commit 6aead2cb03

View File

@ -36,8 +36,9 @@ class Spare {
CGE2Engine *_vm;
Common::Array<Sprite*> _container;
public:
void make(Sprite *spr);
Spare(CGE2Engine *vm) : _vm(vm) {}
~Spare() { clear(); }
void make(Sprite *spr);
Sprite *take(int ref);
void takeCave(int cav);
void dispose(Sprite *spr);