mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-20 00:41:12 +00:00
fixed crash during time challenges (rclick without object)
svn-id: r48581
This commit is contained in:
parent
9fbf1a113c
commit
b89b64f71a
@ -493,6 +493,10 @@ Common::Error TeenAgentEngine::run() {
|
||||
// debug(0, "%d, %s", current_object->id, current_object->name.c_str());
|
||||
if (scene->getId() < 0)
|
||||
break;
|
||||
|
||||
if (current_object == NULL)
|
||||
break;
|
||||
|
||||
if (res->dseg.get_byte(0) == 3 && current_object->id == 1) {
|
||||
processCallback(0x5189); //boo!
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user