mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-29 15:22:08 +00:00
- removed pointless heap allocation that never was freed.
This commit is contained in:
parent
99f17f2dce
commit
b75a8ed8ff
1 changed files with 0 additions and 5 deletions
|
@ -1067,11 +1067,6 @@ static void SetDehParams(FState *state, int codepointer, VMDisassemblyDumper &di
|
|||
|
||||
bool returnsState = codepointer == 6;
|
||||
|
||||
// Fakey fake script position thingamajig. Because NULL cannot be used instead.
|
||||
// Even if the lump was parsed by an FScanner, there would hardly be a way to
|
||||
// identify which line is troublesome.
|
||||
FScriptPosition *pos = new FScriptPosition(FString("DEHACKED"), 0);
|
||||
|
||||
// Let's identify the codepointer we're dealing with.
|
||||
PFunction *sym;
|
||||
sym = dyn_cast<PFunction>(PClass::FindActor(NAME_Weapon)->FindSymbol(FName(MBFCodePointers[codepointer].name), true));
|
||||
|
|
Loading…
Reference in a new issue