[Scummvm-cvs-logs] SF.net SVN: scummvm:[45351] scummvm/trunk/engines/sci/engine/kgraphics.cpp
m_kiewitz at users.sourceforge.net
m_kiewitz at users.sourceforge.net
Fri Oct 23 22:41:59 CEST 2009
Revision: 45351
http://scummvm.svn.sourceforge.net/scummvm/?rev=45351&view=rev
Author: m_kiewitz
Date: 2009-10-23 20:41:59 +0000 (Fri, 23 Oct 2009)
Log Message:
-----------
SCI: kAddToPic - abort when list is null reference (fixes qfg1 saved game loading on some screens)
Modified Paths:
--------------
scummvm/trunk/engines/sci/engine/kgraphics.cpp
Modified: scummvm/trunk/engines/sci/engine/kgraphics.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kgraphics.cpp 2009-10-23 20:10:51 UTC (rev 45350)
+++ scummvm/trunk/engines/sci/engine/kgraphics.cpp 2009-10-23 20:41:59 UTC (rev 45351)
@@ -841,6 +841,8 @@
case 0:
break;
case 1:
+ if (argv[0].isNull())
+ return s->r_acc;
s->_gui->addToPicList(argv[0], argc, argv);
break;
case 7:
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