aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/core
diff options
context:
space:
mode:
authorPaul Gilbert2016-12-20 20:50:39 -0500
committerPaul Gilbert2016-12-20 20:50:39 -0500
commit65a2e906a89033f4b96fbf3c1581e60c6f1e0207 (patch)
tree01bf202bb3e46be90289016b036a654981342f75 /engines/titanic/core
parenta46f3c162581740a3cad27e1168164ca91beb9c9 (diff)
downloadscummvm-rg350-65a2e906a89033f4b96fbf3c1581e60c6f1e0207.tar.gz
scummvm-rg350-65a2e906a89033f4b96fbf3c1581e60c6f1e0207.tar.bz2
scummvm-rg350-65a2e906a89033f4b96fbf3c1581e60c6f1e0207.zip
TITANIC: Fix panning away from parrot cage
Diffstat (limited to 'engines/titanic/core')
-rw-r--r--engines/titanic/core/saveable_object.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/titanic/core/saveable_object.cpp b/engines/titanic/core/saveable_object.cpp
index f718ba79b3..5e8c138984 100644
--- a/engines/titanic/core/saveable_object.cpp
+++ b/engines/titanic/core/saveable_object.cpp
@@ -424,6 +424,9 @@ CSaveableObject *ClassDef::create() {
CSaveableObject::ClassListMap *CSaveableObject::_classList;
CSaveableObject::ClassDefList *CSaveableObject::_classDefs;
+ClassDef **types[1000];
+static int tctr = 0;
+
#define DEFFN(T) CSaveableObject *Function##T() { return new T(); } \
ClassDef *T::_type
#define ADDFN(CHILD, PARENT) \