Adjust HE version checks, for updated releases.
svn-id: r19611
This commit is contained in:
parent
c074055341
commit
cbba64fdbe
1 changed files with 2 additions and 2 deletions
|
@ -584,14 +584,14 @@ void ScummEngine::writeVar(uint var, int value) {
|
||||||
|
|
||||||
if (VAR_SUBTITLES != 0xFF && var == VAR_SUBTITLES) {
|
if (VAR_SUBTITLES != 0xFF && var == VAR_SUBTITLES) {
|
||||||
// Ignore default setting in HE60/61 games
|
// Ignore default setting in HE60/61 games
|
||||||
if ((_heversion >= 70 && _heversion <= 73) && vm.slot[_currentScript].number == 1)
|
if (_heversion >= 70 && vm.slot[_currentScript].number == 1)
|
||||||
return;
|
return;
|
||||||
assert(value == 0 || value == 1);
|
assert(value == 0 || value == 1);
|
||||||
ConfMan.set("subtitles", value);
|
ConfMan.set("subtitles", value);
|
||||||
}
|
}
|
||||||
if (VAR_NOSUBTITLES != 0xFF && var == VAR_NOSUBTITLES) {
|
if (VAR_NOSUBTITLES != 0xFF && var == VAR_NOSUBTITLES) {
|
||||||
// Ignore default setting in HE60/61 games
|
// Ignore default setting in HE60/61 games
|
||||||
if ((_heversion >= 60 && _heversion <= 61) && vm.slot[_currentScript].number == 1)
|
if (_heversion >= 60 && vm.slot[_currentScript].number == 1)
|
||||||
return;
|
return;
|
||||||
assert(value == 0 || value == 1);
|
assert(value == 0 || value == 1);
|
||||||
ConfMan.set("subtitles", !value);
|
ConfMan.set("subtitles", !value);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue