mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-30 16:00:55 +00:00
fix: MBF's A_Spawn DEH codepointer should use misc2 as spawnheight, not distance
This commit is contained in:
parent
41ab1e4994
commit
4b7560cd36
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue