From 239b2984dfd1057ab0b5d3a937ccecb57220c2bf Mon Sep 17 00:00:00 2001 From: djsrv Date: Tue, 16 Jun 2020 09:19:11 -0400 Subject: [PATCH] DIRECTOR: LINGO: Remove handler exec from c_eval --- engines/director/lingo/lingo-code.cpp | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/engines/director/lingo/lingo-code.cpp b/engines/director/lingo/lingo-code.cpp index 0075776f263..5d5ff7ad6b6 100644 --- a/engines/director/lingo/lingo-code.cpp +++ b/engines/director/lingo/lingo-code.cpp @@ -416,13 +416,6 @@ void LC::c_varpush() { } } - if (g_lingo->getHandler(name).type != VOID) { - d.type = HANDLER; - d.u.s = new Common::String(name); - g_lingo->push(d); - return; - } - d.type = VAR; d.u.s = new Common::String(name); g_lingo->push(d); @@ -458,12 +451,6 @@ void LC::c_eval() { Datum d; d = g_lingo->pop(); - if (d.type == HANDLER) { - LC::call(*d.u.s, 0); - delete d.u.s; - return; - } - if (d.type != VAR) { // It could be cast ref g_lingo->push(d); return;