- fixed uninitialized 'isInitialized' variable in FGameConfigFile.

This commit is contained in:
Christoph Oelckers 2020-03-01 07:28:40 +01:00
parent 61fbbc56c0
commit 83d56f56d5
2 changed files with 2 additions and 1 deletions

View file

@ -66,7 +66,7 @@ private:
void ReadCVars (unsigned flags); void ReadCVars (unsigned flags);
bool bModSetup; bool bModSetup;
bool isInitialized; bool isInitialized = false;
char section[64]; char section[64];
char *subsection; char *subsection;

View file

@ -51,6 +51,7 @@ struct MapRecord
void SetFileName(const char* n) void SetFileName(const char* n)
{ {
fileName = n; fileName = n;
FixPathSeperator(fileName);
labelName = ExtractFileBase(n); labelName = ExtractFileBase(n);
} }
const char* GetMessage(int num) const char* GetMessage(int num)