aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTravis Howell2006-12-11 06:20:17 +0000
committerTravis Howell2006-12-11 06:20:17 +0000
commitd704d644e87c93618db94c5eff4fcbe11be3dfba (patch)
tree69d1c20567de1360ab6c4f585a01fc00dcfbc1f4 /engines
parent5424198c825bddd5f7410b8649c8d2b8aa38509b (diff)
downloadscummvm-rg350-d704d644e87c93618db94c5eff4fcbe11be3dfba.tar.gz
scummvm-rg350-d704d644e87c93618db94c5eff4fcbe11be3dfba.tar.bz2
scummvm-rg350-d704d644e87c93618db94c5eff4fcbe11be3dfba.zip
Disable saving game in original load/save screen of maniac/zak, since it doesn't function correctly
svn-id: r24836
Diffstat (limited to 'engines')
-rw-r--r--engines/scumm/script_v5.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/engines/scumm/script_v5.cpp b/engines/scumm/script_v5.cpp
index 054b6eeb2f..c56ed57d32 100644
--- a/engines/scumm/script_v5.cpp
+++ b/engines/scumm/script_v5.cpp
@@ -910,8 +910,8 @@ void ScummEngine_v5::loadVars() {
debug(0, "stub loadVars: vars %d -> %d", a, b);
break;
case 0x02: // read a range of string variables
- a = getVarOrDirectByte(0x80);
- b = getVarOrDirectByte(0x40);
+ a = getVarOrDirectByte(PARAM_1);
+ b = getVarOrDirectByte(PARAM_2);
debug(0, "stub loadVars: strings %d -> %d", a, b);
break;
case 0x03: // open file
@@ -1147,10 +1147,10 @@ void ScummEngine_v5::o5_saveLoadGame() {
result = 5; // failed to load
break;
case 0x80: // save
- if (saveState(slot, _saveTemporaryState))
- result = 0;
- else
- result = 2;
+ //if (saveState(slot, _saveTemporaryState))
+ // result = 0; // sucess
+ //else
+ result = 2; // failed to save
break;
case 0xC0: // test if save exists
bool avail_saves[100];
@@ -2068,8 +2068,8 @@ void ScummEngine_v5::o5_setObjectName() {
void ScummEngine_v5::o5_setOwnerOf() {
int obj, owner;
- obj = getVarOrDirectWord(0x80);
- owner = getVarOrDirectByte(0x40);
+ obj = getVarOrDirectWord(PARAM_1);
+ owner = getVarOrDirectByte(PARAM_2);
setOwnerOf(obj, owner);
}