mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
fix MBF21 A_WeaponMeleeAttack function name typo & args
This commit is contained in:
parent
cf04ebb774
commit
00d4442fc8
1 changed files with 3 additions and 3 deletions
|
@ -886,12 +886,12 @@ static void CreateWeaponBulletAttackFunc(FunctionCallEmitter &emitters, int valu
|
|||
|
||||
static void CreateWeaponMeleeAttackFunc(FunctionCallEmitter &emitters, int value1, int value2, MBFParamState* state)
|
||||
{
|
||||
state->ValidateArgCount(5, "A_WeaponBulletAttack");
|
||||
state->ValidateArgCount(5, "A_WeaponMeleeAttack");
|
||||
emitters.AddParameterIntConst(state->GetIntArg(0, 2));
|
||||
emitters.AddParameterIntConst(state->GetIntArg(1, 10));
|
||||
emitters.AddParameterFloatConst(state->GetFloatArg(2, 1));
|
||||
emitters.AddParameterIntConst(state->GetIntArg(3));
|
||||
emitters.AddParameterIntConst(state->GetIntArg(4));
|
||||
emitters.AddParameterIntConst(state->GetSoundArg(3));
|
||||
emitters.AddParameterFloatConst(state->GetFloatArg(4));
|
||||
}
|
||||
|
||||
static void CreateWeaponSoundFunc(FunctionCallEmitter &emitters, int value1, int value2, MBFParamState* state)
|
||||
|
|
Loading…
Reference in a new issue