mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 22:58:09 +00:00
CGE2: Add destructor to Spare.
This commit is contained in:
parent
631e9ef37e
commit
6aead2cb03
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user