diff options
Diffstat (limited to 'engines/tsage')
-rw-r--r-- | engines/tsage/graphics.cpp | 7 | ||||
-rw-r--r-- | engines/tsage/graphics.h | 1 |
2 files changed, 0 insertions, 8 deletions
diff --git a/engines/tsage/graphics.cpp b/engines/tsage/graphics.cpp index b6beb0314c..595c43a0bf 100644 --- a/engines/tsage/graphics.cpp +++ b/engines/tsage/graphics.cpp @@ -1079,16 +1079,9 @@ bool GfxButton::process(Event &event) { GfxDialog::GfxDialog() { _savedArea = NULL; _defaultButton = NULL; - - // For Return to Ringworld 2, backup palette when showing a dialog - if (g_vm->getGameID() == GType_Ringworld2) - g_system->getPaletteManager()->grabPalette(&_savedPalette[0], 0, 256); } GfxDialog::~GfxDialog() { - if (g_vm->getGameID() == GType_Ringworld2) - g_system->getPaletteManager()->setPalette(&_savedPalette[0], 0, 256); - remove(); } diff --git a/engines/tsage/graphics.h b/engines/tsage/graphics.h index 365929ec24..858731a1ac 100644 --- a/engines/tsage/graphics.h +++ b/engines/tsage/graphics.h @@ -321,7 +321,6 @@ public: GfxElementList _elements; GfxButton *_defaultButton; GfxSurface *_savedArea; - byte _savedPalette[256 * 3]; public: GfxDialog(); virtual ~GfxDialog(); |