[Scummvm-cvs-logs] SF.net SVN: scummvm:[52163] scummvm/trunk/engines/sci/resource.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Tue Aug 17 21:15:55 CEST 2010
Revision: 52163
http://scummvm.svn.sourceforge.net/scummvm/?rev=52163&view=rev
Author: thebluegr
Date: 2010-08-17 19:15:55 +0000 (Tue, 17 Aug 2010)
Log Message:
-----------
SCI: Fix for bug #3046800 - "SCI Fallback detector crashes with several games"
Modified Paths:
--------------
scummvm/trunk/engines/sci/resource.cpp
Modified: scummvm/trunk/engines/sci/resource.cpp
===================================================================
--- scummvm/trunk/engines/sci/resource.cpp 2010-08-17 19:04:04 UTC (rev 52162)
+++ scummvm/trunk/engines/sci/resource.cpp 2010-08-17 19:15:55 UTC (rev 52163)
@@ -2062,7 +2062,7 @@
// 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;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list