From 783d968e20fb7a29d5c19ba6671d6c9ba363ec41 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Mon, 19 Sep 2016 18:58:39 +0200 Subject: FULLPIPE: Fix saving object to savegames --- engines/fullpipe/utils.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'engines/fullpipe/utils.h') diff --git a/engines/fullpipe/utils.h b/engines/fullpipe/utils.h index 44bda68cac..41a54f4ce7 100644 --- a/engines/fullpipe/utils.h +++ b/engines/fullpipe/utils.h @@ -68,7 +68,7 @@ public: MfcArchive(Common::WriteStream *file); char *readPascalString(bool twoByte = false); - void writePascalString(char *str, bool twoByte = false); + void writePascalString(const char *str, bool twoByte = false); int readCount(); double readDouble(); CObject *parseClass(bool *isCopyReturned); @@ -103,7 +103,8 @@ enum ObjType { kObjTypeMctlCompound, kObjTypeObjstateCommand, kObjTypePictureObject, - kObjTypeStaticANIObject + kObjTypeStaticANIObject, + kObjTypeGameVar }; class CObject { -- cgit v1.2.3