mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-24 21:21:04 +00:00
- 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
|
@ -1,3 +1,7 @@
|
|||
December 10, 2006 (Changes by Graf Zahl)
|
||||
- Fixed: When a DehackedPickup replacement object is created it must copy
|
||||
the state labels of the parent object.
|
||||
|
||||
December 9, 2006 (Changes by Graf Zahl)
|
||||
- Fixed: P_LookForTid should abort its search when it discovers that it has
|
||||
cycled through the entire list of actors.
|
||||
|
|
|
@ -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…
Reference in a new issue