- added a 'player.clearcolorset' property so that inherited color sets can be removed.
- fixed: Player color sets were not inheritable. SVN r2202 (trunk)
This commit is contained in:
parent
5a72e8d20e
commit
0569d948df
7 changed files with 80 additions and 49 deletions
|
|
@ -159,6 +159,12 @@ FActorInfo *CreateNewActor(const FScriptPosition &sc, FName typeName, FName pare
|
|||
info->PainChances = new PainChanceList;
|
||||
*info->PainChances = *parent->ActorInfo->PainChances;
|
||||
}
|
||||
if (parent->ActorInfo->ColorSets != NULL)
|
||||
{
|
||||
// copy color sets from parent
|
||||
info->ColorSets = new FPlayerColorSetMap;
|
||||
*info->ColorSets = *parent->ActorInfo->ColorSets;
|
||||
}
|
||||
info->Replacee = info->Replacement = NULL;
|
||||
info->DoomEdNum = -1;
|
||||
return info;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue