From 4f2aec99e251084d3c66c48a19e8cfd43bdf671c Mon Sep 17 00:00:00 2001 From: <> Date: Thu, 6 Apr 2017 06:00:44 -0700 Subject: [PATCH] Fixed crash - parser properly transitions through states --- ReflexToQ3/includes/v8mapparser.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/ReflexToQ3/includes/v8mapparser.cpp b/ReflexToQ3/includes/v8mapparser.cpp index d6d26f7..b550e10 100644 --- a/ReflexToQ3/includes/v8mapparser.cpp +++ b/ReflexToQ3/includes/v8mapparser.cpp @@ -126,6 +126,7 @@ EParserState CMapParser::ParseEntity(const std::string _Line) pcToken = strtok_s(pcLine, kpcDelim, &pcContext); if (_Line.find("\tbrush") != string::npos) { + m_WorldSpawn.m_Brushes.push_back(TBrush()); return PARSERSTATE_BRUSH; } while(pcToken != nullptr)