From 373d795c83bc907d4d3a06db2c12d9f46b3f07c6 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Fri, 3 Apr 2020 23:05:25 +0200 Subject: [PATCH] DIRECTOR: Initialize Symbol structure --- engines/director/lingo/lingo.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/engines/director/lingo/lingo.cpp b/engines/director/lingo/lingo.cpp index d4da8e36053..06738fa7221 100644 --- a/engines/director/lingo/lingo.cpp +++ b/engines/director/lingo/lingo.cpp @@ -37,11 +37,15 @@ Lingo *g_lingo; Symbol::Symbol() { type = VOID; - u.s = NULL; + u.s = nullptr; nargs = 0; maxArgs = 0; parens = true; global = false; + argNames = nullptr; + varNames = nullptr; + ctx = nullptr; + archiveIndex = 0; } Lingo::Lingo(DirectorEngine *vm) : _vm(vm) {