- fixed: Dehacked did not copy the defaults for DehackedPickup replacements anymore.

This commit is contained in:
Christoph Oelckers 2016-12-02 01:33:18 +01:00
commit 05cc3dde72
2 changed files with 2 additions and 0 deletions

View file

@ -3020,6 +3020,7 @@ void FinishDehPatch ()
while (subclass == nullptr);
AActor *defaults2 = GetDefaultByType (subclass);
memcpy ((void *)defaults2, (void *)defaults1, sizeof(AActor));
// Make a copy of the replaced class's state labels
FStateDefinitions statedef;