aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTravis Howell2007-07-28 09:14:05 +0000
committerTravis Howell2007-07-28 09:14:05 +0000
commitd6fd87fd6a31676decec39d98b4d5d0aa579bc4f (patch)
tree4101a5c14a350bddf0d7ea94b613188656c8d4ea /engines
parentd79de5733b9bb5040b36f9da5f09c400e79ec9bd (diff)
downloadscummvm-rg350-d6fd87fd6a31676decec39d98b4d5d0aa579bc4f.tar.gz
scummvm-rg350-d6fd87fd6a31676decec39d98b4d5d0aa579bc4f.tar.bz2
scummvm-rg350-d6fd87fd6a31676decec39d98b4d5d0aa579bc4f.zip
Add save code differences in Amiga verison of Waxworks.
svn-id: r28260
Diffstat (limited to 'engines')
-rw-r--r--engines/agos/saveload.cpp3
1 files changed, 2 insertions, 1 deletions
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);