aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage
diff options
context:
space:
mode:
authorJohannes Schickel2011-04-25 15:50:41 +0200
committerJohannes Schickel2011-04-25 15:50:41 +0200
commit98affc01a6f5cce4ce4db2a164c3972203e7a068 (patch)
treeb71a4667553bae8e2bd5decdf2ce4ed953090ae3 /engines/tsage
parent33a88e5cacb35e04c947abe38565423544605fcf (diff)
downloadscummvm-rg350-98affc01a6f5cce4ce4db2a164c3972203e7a068.tar.gz
scummvm-rg350-98affc01a6f5cce4ce4db2a164c3972203e7a068.tar.bz2
scummvm-rg350-98affc01a6f5cce4ce4db2a164c3972203e7a068.zip
TSAGE: Add virtual destructor to Game class.
Diffstat (limited to 'engines/tsage')
-rw-r--r--engines/tsage/core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/tsage/core.h b/engines/tsage/core.h
index 51af41ec5c..85f4b420c1 100644
--- a/engines/tsage/core.h
+++ b/engines/tsage/core.h
@@ -914,6 +914,8 @@ protected:
static bool notLockedFn(GameHandler *g);
virtual void handleSaveLoad(bool saveFlag, int &saveSlot, Common::String &saveName) {}
public:
+ virtual ~Game() {}
+
void addHandler(GameHandler *entry) { _handlers.push_back(entry); }
void removeHandler(GameHandler *entry) { _handlers.remove(entry); }