From f9b78597f768595d88cf757e1b7ac3b03db51305 Mon Sep 17 00:00:00 2001 From: Robert MacGregor Date: Thu, 16 Sep 2021 21:21:04 -0400 Subject: [PATCH] * BugFix: Correct an error that causes the engine to crash when calling non-namespaced engine functions incorrectly. --- Engine/source/console/compiledEval.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Engine/source/console/compiledEval.cpp b/Engine/source/console/compiledEval.cpp index f4c48ef68..561e1f04a 100644 --- a/Engine/source/console/compiledEval.cpp +++ b/Engine/source/console/compiledEval.cpp @@ -734,7 +734,7 @@ ConsoleValue CodeBlock::exec(U32 ip, const char* functionName, Namespace* thisNa SimObject* curObject = NULL; SimObject* saveObject = NULL; Namespace::Entry* nsEntry; - Namespace* ns; + Namespace* ns = NULL; const char* curFNDocBlock = NULL; const char* curNSDocBlock = NULL; const S32 nsDocLength = 128;