aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();