diff options
author | Paul Gilbert | 2016-02-24 20:22:22 -0500 |
---|---|---|
committer | Paul Gilbert | 2016-02-24 20:22:22 -0500 |
commit | 4fbcefba65f78e2346fb9a03e7b7c4cfbaf6133d (patch) | |
tree | 3db7795dbd3f2a2fcc3205ac0cdb9738349381d1 /engines/titanic/objects/saveable_object.cpp | |
parent | 03f387b2bc624bbbea01f0894dc9a2a218e9ef6d (diff) | |
download | scummvm-rg350-4fbcefba65f78e2346fb9a03e7b7c4cfbaf6133d.tar.gz scummvm-rg350-4fbcefba65f78e2346fb9a03e7b7c4cfbaf6133d.tar.bz2 scummvm-rg350-4fbcefba65f78e2346fb9a03e7b7c4cfbaf6133d.zip |
TITANIC: Fix loading of CRoomItem class
Diffstat (limited to 'engines/titanic/objects/saveable_object.cpp')
-rw-r--r-- | engines/titanic/objects/saveable_object.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/titanic/objects/saveable_object.cpp b/engines/titanic/objects/saveable_object.cpp index adc03697a5..45161be277 100644 --- a/engines/titanic/objects/saveable_object.cpp +++ b/engines/titanic/objects/saveable_object.cpp @@ -44,7 +44,6 @@ DEFFN(CFileItem); DEFFN(CProjectItem); DEFFN(CRoomItem); DEFFN(CMovieClip); -DEFFN(CMovieClipItem); DEFFN(CMovieClipList); void CSaveableObject::initClassList() { @@ -56,7 +55,6 @@ void CSaveableObject::initClassList() { ADDFN(CProjectItem); ADDFN(CRoomItem); ADDFN(CMovieClip); - ADDFN(CMovieClipItem); ADDFN(CMovieClipList); } @@ -65,6 +63,7 @@ void CSaveableObject::freeClassList() { } CSaveableObject *CSaveableObject::createInstance(const Common::String &name) { +warning("%s", name.c_str()); return (*_classList)[name](); } |