Parser control logic fixed, closes issue #8
This commit is contained in:
parent
be18339502
commit
d995b858aa
@ -20,6 +20,8 @@ const bool V8MapParser::LoadMap(const char* _kpcFileName) {
|
||||
if(!std::getline(InFile, Line))
|
||||
{
|
||||
bGoing = false;
|
||||
// without this break, loop control allows the final empty string to get passed into ParseFunctions()
|
||||
break;
|
||||
}
|
||||
}
|
||||
bAdvance = true;
|
||||
|
Loading…
Reference in New Issue
Block a user