- fixed MustConfirm parsing in MAPINFO

SVN r1554 (trunk)
This commit is contained in:
Christoph Oelckers 2009-04-21 17:34:48 +00:00
parent 1954f9ee84
commit a2a69765eb

View file

@ -184,18 +184,17 @@ void FMapInfoParser::ParseSkill ()
}
else if (sc.Compare("MustConfirm"))
{
skill.MustConfirm = true;
if (format_type == FMT_New)
{
if (CheckAssign())
{
sc.MustGetString();
skill.MustConfirm = true;
skill.MustConfirmText = sc.String;
}
}
else
{
skill.MustConfirm = true;
if (sc.CheckToken(TK_StringConst))
{
skill.MustConfirmText = sc.String;