diff options
Diffstat (limited to 'engines/titanic/core/saveable_object.cpp')
| -rw-r--r-- | engines/titanic/core/saveable_object.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/engines/titanic/core/saveable_object.cpp b/engines/titanic/core/saveable_object.cpp index 8e3ab1e067..8e9ec4e1d6 100644 --- a/engines/titanic/core/saveable_object.cpp +++ b/engines/titanic/core/saveable_object.cpp @@ -1581,9 +1581,9 @@ void CSaveableObject::saveFooter(SimpleFile *file, int indent) const {  	file->writeClassEnd(indent);  } -bool CSaveableObject::isInstanceOf(const ClassDef &classDef) { +bool CSaveableObject::isInstanceOf(const ClassDef *classDef) {  	for (ClassDef *def = getType(); def != nullptr; def = def->_parent) { -		if (def == &classDef) +		if (def == classDef)  			return true;  	} | 
