From d6fd87fd6a31676decec39d98b4d5d0aa579bc4f Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Sat, 28 Jul 2007 09:14:05 +0000 Subject: Add save code differences in Amiga verison of Waxworks. svn-id: r28260 --- engines/agos/saveload.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/engines/agos/saveload.cpp b/engines/agos/saveload.cpp index 44fc35d6ac..adeaa35b9f 100644 --- a/engines/agos/saveload.cpp +++ b/engines/agos/saveload.cpp @@ -1338,7 +1338,8 @@ bool AGOSEngine_Elvira2::saveGame(uint slot, const char *caption) { for (num_item = _itemArrayInited - 1; num_item; num_item--) { Item *item = _itemArrayPtr[item_index++]; - if (getGameType() == GType_ELVIRA2) { + if ((getGameType() == GType_WW && getPlatform() == Common::kPlatformAmiga) || + getGameType() == GType_ELVIRA2) { writeItemID(f, item->parent); } else { f->writeUint16BE(item->parent); -- cgit v1.2.3