diff options
author | Eugene Sandulenko | 2016-05-10 10:07:51 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-05-10 12:14:56 +0200 |
commit | 5981ef48daf09475c089334402316161bb617d81 (patch) | |
tree | 7e0a47ec72103d8116ac40817e18dd641b79af39 /engines/gnap/scenes/scenecore.h | |
parent | d4053ee11b736255d8e22e8f668904a3c4462549 (diff) | |
download | scummvm-rg350-5981ef48daf09475c089334402316161bb617d81.tar.gz scummvm-rg350-5981ef48daf09475c089334402316161bb617d81.tar.bz2 scummvm-rg350-5981ef48daf09475c089334402316161bb617d81.zip |
GNAP: Make all relevant destructors virtual
Diffstat (limited to 'engines/gnap/scenes/scenecore.h')
-rw-r--r-- | engines/gnap/scenes/scenecore.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/gnap/scenes/scenecore.h b/engines/gnap/scenes/scenecore.h index 209f07a162..5bfc80d185 100644 --- a/engines/gnap/scenes/scenecore.h +++ b/engines/gnap/scenes/scenecore.h @@ -32,7 +32,7 @@ class GnapEngine; class Scene { public: Scene(GnapEngine *vm) : _vm(vm) {}; - ~Scene() {}; + virtual ~Scene() {}; void playRandomSound(int timerIndex); bool clearKeyStatus(); @@ -50,7 +50,7 @@ protected: class CutScene : public Scene { public: CutScene(GnapEngine *vm) : Scene(vm) {}; - ~CutScene() {}; + virtual ~CutScene() {}; virtual int init() = 0; void updateHotspots() {} |