aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Hoops2010-11-09 16:06:33 +0000
committerMatthew Hoops2010-11-09 16:06:33 +0000
commit8a788d16d779a651876ed3d4caf7fda0b3fa342c (patch)
treeed4b691b8013cfac662031586b74eb17607d77d8
parent2e8ca1aa9bf68fdfc99ab31999939feef4862642 (diff)
downloadscummvm-rg350-8a788d16d779a651876ed3d4caf7fda0b3fa342c.tar.gz
scummvm-rg350-8a788d16d779a651876ed3d4caf7fda0b3fa342c.tar.bz2
scummvm-rg350-8a788d16d779a651876ed3d4caf7fda0b3fa342c.zip
SCI: Fix compile when SCI32 is not enabled
svn-id: r54160
-rw-r--r--engines/sci/resource_audio.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/resource_audio.cpp b/engines/sci/resource_audio.cpp
index e6b8fd06c2..9949373852 100644
--- a/engines/sci/resource_audio.cpp
+++ b/engines/sci/resource_audio.cpp
@@ -276,7 +276,7 @@ int ResourceManager::readAudioMapSCI11(ResourceSource *map) {
#ifndef ENABLE_SCI32
// SCI32 support is not built in. Check if this is a SCI32 game
// and if it is abort here.
- if (_volVersion == kResVersionSci32)
+ if (_volVersion >= kResVersionSci2)
return SCI_ERROR_RESMAP_NOT_FOUND;
#endif