- Fixed: When a DehackedPickup replacement object is created it must copy
the state labels of the parent object. SVN r410 (trunk)
This commit is contained in:
parent
88812ed0f5
commit
e55e4f0932
2 changed files with 7 additions and 0 deletions
|
|
@ -2581,6 +2581,9 @@ void FinishDehPatch ()
|
|||
subclass->ActorInfo->GameFilter = type->ActorInfo->GameFilter;
|
||||
subclass->ActorInfo->SpawnID = type->ActorInfo->SpawnID;
|
||||
subclass->ActorInfo->DoomEdNum = type->ActorInfo->DoomEdNum;
|
||||
// Make a copy the state labels
|
||||
MakeStateDefines(type->ActorInfo->StateList);
|
||||
InstallStates(subclass->ActorInfo, defaults2);
|
||||
|
||||
// Alter the original class so that it just spawns the new one
|
||||
//memcpy (defaults1, GetDefault<AActor>(), sizeof(AActor));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue