- Fixed parsing for MustConfirm key in skill parser.
- Converted internal MAPINFOs to new syntax. SVN r1417 (trunk)
This commit is contained in:
parent
4b064d9b5d
commit
5aecc8abf5
12 changed files with 2928 additions and 2299 deletions
|
|
@ -184,11 +184,22 @@ void FMapInfoParser::ParseSkill ()
|
|||
}
|
||||
else if (sc.Compare("MustConfirm"))
|
||||
{
|
||||
ParseAssign();
|
||||
skill.MustConfirm = true;
|
||||
if (sc.CheckToken(TK_StringConst))
|
||||
if (format_type == FMT_New)
|
||||
{
|
||||
skill.MustConfirmText = sc.String;
|
||||
if (CheckAssign())
|
||||
{
|
||||
sc.MustGetString();
|
||||
skill.MustConfirm = true;
|
||||
skill.MustConfirmText = sc.String;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
skill.MustConfirm = true;
|
||||
if (sc.CheckToken(TK_StringConst))
|
||||
{
|
||||
skill.MustConfirmText = sc.String;
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (sc.Compare("Key"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue