aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/coll_templ.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/coll_templ.h')
-rw-r--r--engines/wintermute/coll_templ.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wintermute/coll_templ.h b/engines/wintermute/coll_templ.h
index 0c71b3ec6e..fc1d0205c8 100644
--- a/engines/wintermute/coll_templ.h
+++ b/engines/wintermute/coll_templ.h
@@ -88,7 +88,7 @@ public:
// Clean up
void freeExtra();
void removeAll();
- ERRORCODE persist(CBPersistMgr *persistMgr);
+ bool persist(CBPersistMgr *persistMgr);
// Accessing elements
TYPE getAt(int nIndex) const;
@@ -346,7 +346,7 @@ void CBArray<TYPE, ARG_TYPE>::insertAt(int nStartIndex, CBArray *pNewArray) {
/////////////////////////////////////////////////////////////////////////////
template<class TYPE, class ARG_TYPE>
-ERRORCODE CBArray<TYPE, ARG_TYPE>::persist(CBPersistMgr *persistMgr) {
+bool CBArray<TYPE, ARG_TYPE>::persist(CBPersistMgr *persistMgr) {
int i, j;
if (persistMgr->_saving) {
j = getSize();