diff options
author | Johannes Schickel | 2011-04-25 15:50:41 +0200 |
---|---|---|
committer | Johannes Schickel | 2011-04-25 15:50:41 +0200 |
commit | 98affc01a6f5cce4ce4db2a164c3972203e7a068 (patch) | |
tree | b71a4667553bae8e2bd5decdf2ce4ed953090ae3 /engines/tsage/core.h | |
parent | 33a88e5cacb35e04c947abe38565423544605fcf (diff) | |
download | scummvm-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/core.h')
-rw-r--r-- | engines/tsage/core.h | 2 |
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); } |