Fixed crash - parser properly transitions through states
This commit is contained in:
parent
4f13310893
commit
4f2aec99e2
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user