- fixed CheckRange return value.
- removed the error message for multiple state blocks in DECORATE. - added some constants for state types.
This commit is contained in:
parent
ba62a86c80
commit
199e2e2f9c
5 changed files with 28 additions and 7 deletions
|
|
@ -1062,11 +1062,6 @@ static void ParseActor(FScanner &sc)
|
|||
break;
|
||||
|
||||
case TK_States:
|
||||
if (bag.StateSet)
|
||||
{
|
||||
sc.ScriptMessage("'%s' contains multiple state declarations", bag.Info->TypeName.GetChars());
|
||||
FScriptPosition::ErrorCounter++;
|
||||
}
|
||||
ParseStates(sc, bag.Info, (AActor *)bag.Info->Defaults, bag);
|
||||
bag.StateSet = true;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue