- remove '... is already the default skill' error

This commit is contained in:
alexey.lysiuk 2019-08-17 11:49:16 +03:00 committed by drfrag
parent 00c1fece16
commit 3eb96eeeff

View file

@ -303,10 +303,6 @@ void FMapInfoParser::ParseSkill ()
} }
else if (sc.Compare("DefaultSkill")) else if (sc.Compare("DefaultSkill"))
{ {
if (DefaultSkill >= 0)
{
sc.ScriptError("%s is already the default skill\n", AllSkills[DefaultSkill].Name.GetChars());
}
thisisdefault = true; thisisdefault = true;
} }
else if (!ParseCloseBrace()) else if (!ParseCloseBrace())