diff options
author | Jonathan Gray | 2003-05-10 14:40:09 +0000 |
---|---|---|
committer | Jonathan Gray | 2003-05-10 14:40:09 +0000 |
commit | 7f0b853ca7108cf2597c982e35feb3c2f794ff50 (patch) | |
tree | 9bfafadef73f95ec61c7065cbd0fdd9cbdeb4809 /scumm/akos.cpp | |
parent | c4741d89a3a5e17f5312100e9f9280e055eb5e31 (diff) | |
download | scummvm-rg350-7f0b853ca7108cf2597c982e35feb3c2f794ff50.tar.gz scummvm-rg350-7f0b853ca7108cf2597c982e35feb3c2f794ff50.tar.bz2 scummvm-rg350-7f0b853ca7108cf2597c982e35feb3c2f794ff50.zip |
fix variable acces
svn-id: r7414
Diffstat (limited to 'scumm/akos.cpp')
-rw-r--r-- | scumm/akos.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/akos.cpp b/scumm/akos.cpp index 64a95074eb..4950a6431e 100644 --- a/scumm/akos.cpp +++ b/scumm/akos.cpp @@ -644,7 +644,7 @@ void AkosRenderer::codec1() { v1.scaletable = default_scale_table; // FIXME - which value for VAR_CUSTOMSCALETABLE in V8 ? - if (_vm->isGlobInMemory(rtString, _vm->VAR(_vm->VAR_CUSTOMSCALETABLE))) { + if (_vm->VAR_CUSTOMSCALETABLE != 0xFF && _vm->isGlobInMemory(rtString, _vm->VAR(_vm->VAR_CUSTOMSCALETABLE))) { v1.scaletable = _vm->getStringAddressVar(_vm->VAR_CUSTOMSCALETABLE); } |