[Scummvm-cvs-logs] SF.net SVN: scummvm: [26996] scummvm/trunk/engines/agos/saveload.cpp
Kirben at users.sourceforge.net
Kirben at users.sourceforge.net
Mon May 28 14:42:11 CEST 2007
Revision: 26996
http://scummvm.svn.sourceforge.net/scummvm/?rev=26996&view=rev
Author: Kirben
Date: 2007-05-28 05:42:10 -0700 (Mon, 28 May 2007)
Log Message:
-----------
Fix loading restart state in Amiga and AtariST versions of Elvira 2.
Modified Paths:
--------------
scummvm/trunk/engines/agos/saveload.cpp
Modified: scummvm/trunk/engines/agos/saveload.cpp
===================================================================
--- scummvm/trunk/engines/agos/saveload.cpp 2007-05-28 11:42:14 UTC (rev 26995)
+++ scummvm/trunk/engines/agos/saveload.cpp 2007-05-28 12:42:10 UTC (rev 26996)
@@ -1050,7 +1050,7 @@
// 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 @@
// 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]));
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list