TSAGE: Fix crash when exiting whilst a palette rotation is active

This commit is contained in:
Paul Gilbert
2011-08-13 21:14:48 +10:00
parent 2a69bcbeba
commit 2dbd858186
+1
View File
@@ -117,6 +117,7 @@ Globals::Globals() : _dialogCenter(160, 140), _gfxManagerInstance(_screenSurface
}
Globals::~Globals() {
_scenePalette.clearListeners();
delete _inventory;
delete _game;
_globals = NULL;