diff options
-rw-r--r-- | engines/sci/resource.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/resource.cpp b/engines/sci/resource.cpp index 00f50714af..72db9102e2 100644 --- a/engines/sci/resource.cpp +++ b/engines/sci/resource.cpp @@ -2062,7 +2062,7 @@ void ResourceManager::detectSciVersion() { // is increment here, but ignore for all the regular sci1late games // the problem is, we dont have access to that detection till later // so maybe (part of?) that detection should get moved in here - if ((g_sci->getGameId() == GID_LSL1) && (g_sci->getLanguage() == Common::ES_ESP)) { + if (g_sci && (g_sci->getGameId() == GID_LSL1) && (g_sci->getLanguage() == Common::ES_ESP)) { s_sciVersion = SCI_VERSION_1_MIDDLE; return; } |