fix: MBF's A_Spawn DEH codepointer should use misc2 as spawnheight, not distance

This commit is contained in:
Xaser Acheron 2021-02-24 16:26:54 -06:00 committed by Christoph Oelckers
parent 41ab1e4994
commit 4b7560cd36

View file

@ -640,8 +640,8 @@ static void CreateSpawnFunc(FunctionCallEmitter &emitters, int value1, int value
I_Error("No class found for dehackednum %d!\n", value1+1);
}
emitters.AddParameterPointerConst(InfoNames[value1-1]); // itemtype
emitters.AddParameterFloatConst(value2); // distance
emitters.AddParameterFloatConst(0); // height
emitters.AddParameterFloatConst(0); // distance
emitters.AddParameterFloatConst(value2); // height
emitters.AddParameterIntConst(0); // useammo
emitters.AddParameterIntConst(0); // transfer_translation
}