- Sync scriptbranch with trunk.
SVN r2269 (scripting)
This commit is contained in:
commit
42ac75e894
127 changed files with 2532 additions and 958 deletions
|
|
@ -153,6 +153,12 @@ PClassActor *CreateNewActor(const FScriptPosition &sc, FName typeName, FName par
|
|||
ti->PainChances = new PainChanceList;
|
||||
*ti->PainChances = *parent->PainChances;
|
||||
}
|
||||
if (parent->ColorSets != NULL)
|
||||
{
|
||||
// copy color sets from parent
|
||||
ti->ColorSets = new FPlayerColorSetMap;
|
||||
*ti->ColorSets = *parent->ColorSets;
|
||||
}
|
||||
ti->Replacee = ti->Replacement = NULL;
|
||||
ti->DoomEdNum = -1;
|
||||
return ti;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue