diff options
-rw-r--r-- | engines/agos/saveload.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/agos/saveload.cpp b/engines/agos/saveload.cpp index 8af398c859..1cbdcfbda3 100644 --- a/engines/agos/saveload.cpp +++ b/engines/agos/saveload.cpp @@ -1050,7 +1050,7 @@ bool AGOSEngine_Elvira2::loadGame(const char *filename, bool restartMode) { // read the items in item store for (i = 0; i != _numItemStore; i++) { - if (getGameType() == GType_ELVIRA2) { + if (getGameType() == GType_ELVIRA2 && getPlatform() == Common::kPlatformPC) { _itemStore[i] = derefItem(readItemID(f)); } else { _itemStore[i] = derefItem(f->readUint16BE()); @@ -1189,7 +1189,7 @@ bool AGOSEngine_Elvira2::saveGame(uint slot, const char *caption) { // write the items in item store for (i = 0; i != _numItemStore; i++) { - if (getGameType() == GType_ELVIRA2) { + if (getGameType() == GType_ELVIRA2 && getPlatform() == Common::kPlatformPC) { writeItemID(f, itemPtrToID(_itemStore[i])); } else { f->writeUint16BE(itemPtrToID(_itemStore[i])); |