Correction to last commits.

svn-id: r17700
This commit is contained in:
Travis Howell committed 2005-04-20 01:42:55 +00:00
1 parent fa3688e80f
commit ea8d2a0fd0
2 files changed
+2 -3

No files matched your search

+2 -2
View File
@@ -360,7 +360,7 @@ void ScummEngine::updateScriptPtr() {
void ScummEngine::nukeArrays(byte scriptSlot) {
int i;
if (_heversion < 60 || scriptSlot == 0)
if (_heversion == 0 || scriptSlot == 0)
return;
for (i = 1; i < _numArray; i++) {
@@ -584,7 +584,7 @@ void ScummEngine::writeVar(uint var, int value) {
// stay in sync with loom cd subtitle var
if ((_gameId == GID_LOOM256 || _heversion >= 60) && var == VAR_NOSUBTITLES) {
assert(value == 0 || value == 1);
if (_heversion == 60 && vm.slot[_currentScript].number == 1)
if (_heversion <= 61 && vm.slot[_currentScript].number == 1)
value = !ConfMan.getBool("subtitles");
else
ConfMan.set("subtitles", (value == 0));