aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/objects/saveable_object.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/objects/saveable_object.cpp')
-rw-r--r--engines/titanic/objects/saveable_object.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/objects/saveable_object.cpp b/engines/titanic/objects/saveable_object.cpp
index 25bd1645b5..201fe1085e 100644
--- a/engines/titanic/objects/saveable_object.cpp
+++ b/engines/titanic/objects/saveable_object.cpp
@@ -33,7 +33,7 @@ Common::HashMap<Common::String, CSaveableObject::CreateFunction> *
CSaveableObject::_classList = nullptr;
#define DEFFN(T) CSaveableObject *Function##T() { return new T(); }
-#define ADDFN(T) (*_classList)["TEST"] = Function##T
+#define ADDFN(T) (*_classList)[#T] = Function##T
DEFFN(List);
DEFFN(ListItem);