SCI: kAddToPic - abort when list is null reference (fixes qfg1 saved game loading on some screens)

svn-id: r45351
This commit is contained in:
Martin Kiewitz 2009-10-23 20:41:59 +00:00
parent f0c4290287
commit 701caea8d7

View File

@ -841,6 +841,8 @@ reg_t kAddToPic(EngineState *s, int argc, reg_t *argv) {
case 0:
break;
case 1:
if (argv[0].isNull())
return s->r_acc;
s->_gui->addToPicList(argv[0], argc, argv);
break;
case 7: