aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2011-05-08 19:08:35 +1000
committerPaul Gilbert2011-05-08 19:08:35 +1000
commitd4e4148a39928e577d588b7cbc26abab453ccbab (patch)
treed7276f15c10e48bb70e578df5a5d2e8a911a6a98
parent0da8f92f0fbfb82eb135c0a84e970e17a2a1da47 (diff)
downloadscummvm-rg350-d4e4148a39928e577d588b7cbc26abab453ccbab.tar.gz
scummvm-rg350-d4e4148a39928e577d588b7cbc26abab453ccbab.tar.bz2
scummvm-rg350-d4e4148a39928e577d588b7cbc26abab453ccbab.zip
TSAGE: Bugfix for restoring savegames saved when palette effects are active
-rw-r--r--engines/tsage/globals.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/tsage/globals.cpp b/engines/tsage/globals.cpp
index 74e957580c..c6e1344714 100644
--- a/engines/tsage/globals.cpp
+++ b/engines/tsage/globals.cpp
@@ -44,7 +44,8 @@ static SavedObject *classFactoryProc(const Common::String &className) {
if (className == "ObjectMover3") return new ObjectMover3();
if (className == "PlayerMover") return new PlayerMover();
if (className == "SceneObjectWrapper") return new SceneObjectWrapper();
-
+ if (className == "PaletteRotation") return new PaletteRotation();
+ if (className == "PaletteFader") return new PaletteFader();
return NULL;
}