- added 2 SBARINFO patches.

SVN r1211 (trunk)
This commit is contained in:
Christoph Oelckers 2008-09-10 23:16:26 +00:00
commit e18111ce5f
2 changed files with 2 additions and 2 deletions

View file

@ -272,7 +272,7 @@ void SBarInfo::ParseSBarInfo(int lump)
{
sc.ScriptError("Unkown flag '%s'.", sc.String);
}
if(!sc.CheckToken('|') || !sc.CheckToken(','))
if(!sc.CheckToken('|') && !sc.CheckToken(','))
goto FinishStatusBar; //No more args so we must skip over anything else and go to the end.
}
sc.MustGetToken(TK_FloatConst);