- Merged FActorInfo::FindStateExact and FActorInfo::FindState into one function
because the differences are only minimal. - Removed all the varargs FindState functions because they aren't really needed. The engine itself never explicitly checks for more than 2 labels and for the rest a function that gets passed a FName array is more suitable anyway. SVN r414 (trunk)
This commit is contained in:
parent
979dfdf4cf
commit
693bf96cb3
11 changed files with 89 additions and 126 deletions
|
|
@ -2499,7 +2499,7 @@ static bool LoadDehSupp ()
|
|||
StateMap[i].State = def->SpawnState;
|
||||
break;
|
||||
case DeathState:
|
||||
StateMap[i].State = type->ActorInfo->FindStateExact(1, NAME_Death);
|
||||
StateMap[i].State = type->ActorInfo->FindState(NAME_Death);
|
||||
break;
|
||||
}
|
||||
StateMap[i].StateSpan = supp[6+i*4+3];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue