From a2dea07d8b396648e58a3549c4d3a90fcdfe8017 Mon Sep 17 00:00:00 2001 From: Jeff Hutchinson Date: Mon, 12 Apr 2021 21:42:18 -0400 Subject: [PATCH] fixed internal types. --- Engine/source/console/consoleInternal.cpp | 1 + Engine/source/console/consoleInternal.h | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/Engine/source/console/consoleInternal.cpp b/Engine/source/console/consoleInternal.cpp index bb059f9d6..bd8e230ff 100644 --- a/Engine/source/console/consoleInternal.cpp +++ b/Engine/source/console/consoleInternal.cpp @@ -468,6 +468,7 @@ char *typeValueEmpty = ""; Dictionary::Entry::Entry(StringTableEntry in_name) { name = in_name; + type = TypeInternalString; notify = NULL; nextEntry = NULL; mUsage = NULL; diff --git a/Engine/source/console/consoleInternal.h b/Engine/source/console/consoleInternal.h index 34f6e1a9b..392bf0c3f 100644 --- a/Engine/source/console/consoleInternal.h +++ b/Engine/source/console/consoleInternal.h @@ -344,11 +344,17 @@ public: Entry() { name = NULL; + type = TypeInternalString; notify = NULL; nextEntry = NULL; mUsage = NULL; mIsConstant = false; mNext = NULL; + + ival = 0; + fval = 0; + sval = typeValueEmpty; + bufferLen = 0; } Entry(StringTableEntry name);