aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTravis Howell2003-08-14 10:46:46 +0000
committerTravis Howell2003-08-14 10:46:46 +0000
commit50482ded7ba3bae14b136d3122747370aa1af297 (patch)
tree91499521d21543684e1b99939173bfe12b0ab8ed /scumm
parent57133e526f0cb88024fd662dd351a35a3e50029b (diff)
downloadscummvm-rg350-50482ded7ba3bae14b136d3122747370aa1af297.tar.gz
scummvm-rg350-50482ded7ba3bae14b136d3122747370aa1af297.tar.bz2
scummvm-rg350-50482ded7ba3bae14b136d3122747370aa1af297.zip
Fix bad check
svn-id: r9689
Diffstat (limited to 'scumm')
-rw-r--r--scumm/resource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/resource.cpp b/scumm/resource.cpp
index 877bd3b473..f6f1f48e0a 100644
--- a/scumm/resource.cpp
+++ b/scumm/resource.cpp
@@ -1426,7 +1426,7 @@ int Scumm::readSoundResourceSmallHeader(int type, int idx) {
debug(4, "readSoundResourceSmallHeader(%s,%d)", resTypeFromId(type), idx);
- if ((_gameId == GID_LOOM) && VAR_SOUNDCARD == 4) {
+ if ((_gameId == GID_LOOM) && VAR(VAR_SOUNDCARD) == 4) {
byte *ptr, *src_ptr;
ro_offs = _fileHandle.pos();
ro_size = _fileHandle.readUint16LE();