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;