mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-06 18:00:44 +00:00
GNAP: Add destructor to scene 1
This commit is contained in:
parent
65f8a72b16
commit
880bc07ae1
@ -59,6 +59,10 @@ Scene01::Scene01(GnapEngine *vm) : Scene(vm) {
|
||||
_s01_spaceshipSurface = nullptr;
|
||||
}
|
||||
|
||||
Scene01::~Scene01() {
|
||||
delete _s01_spaceshipSurface;
|
||||
}
|
||||
|
||||
int Scene01::init() {
|
||||
_vm->_gameSys->setAnimation(0, 0, 0);
|
||||
_vm->_gameSys->setAnimation(0, 0, 3);
|
||||
|
@ -33,6 +33,7 @@ class GnapEngine;
|
||||
class Scene01: public Scene {
|
||||
public:
|
||||
Scene01(GnapEngine *vm);
|
||||
~Scene01();
|
||||
|
||||
virtual int init();
|
||||
virtual void updateHotspots();
|
||||
|
Loading…
Reference in New Issue
Block a user