mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 15:22:16 +00:00
- fixed: Dehacked did not copy the defaults for DehackedPickup replacements anymore.
This commit is contained in:
parent
4dd22d74dd
commit
05cc3dde72
2 changed files with 2 additions and 0 deletions
|
@ -3020,6 +3020,7 @@ void FinishDehPatch ()
|
||||||
while (subclass == nullptr);
|
while (subclass == nullptr);
|
||||||
|
|
||||||
AActor *defaults2 = GetDefaultByType (subclass);
|
AActor *defaults2 = GetDefaultByType (subclass);
|
||||||
|
memcpy ((void *)defaults2, (void *)defaults1, sizeof(AActor));
|
||||||
|
|
||||||
// Make a copy of the replaced class's state labels
|
// Make a copy of the replaced class's state labels
|
||||||
FStateDefinitions statedef;
|
FStateDefinitions statedef;
|
||||||
|
|
|
@ -7913,5 +7913,6 @@ void PrintMiscActorInfo(AActor *query)
|
||||||
query->floorz, query->ceilingz);
|
query->floorz, query->ceilingz);
|
||||||
Printf("\nSpeed= %f, velocity= x:%f, y:%f, z:%f, combined:%f.\n",
|
Printf("\nSpeed= %f, velocity= x:%f, y:%f, z:%f, combined:%f.\n",
|
||||||
query->Speed, query->Vel.X, query->Vel.Y, query->Vel.Z, query->Vel.Length());
|
query->Speed, query->Vel.X, query->Vel.Y, query->Vel.Z, query->Vel.Length());
|
||||||
|
Printf("Scale: x:%f, y:%f\n", query->Scale.X, query->Scale.Y);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue