mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 07:11:54 +00:00
- fixed type of third argument of MBF21's MonsterMeleeAttack function.
This is a sound, not an int.
This commit is contained in:
parent
de4627a477
commit
316b9305a2
1 changed files with 1 additions and 1 deletions
|
@ -802,7 +802,7 @@ static void CreateMonsterMeleeAttackFunc(FunctionCallEmitter &emitters, int valu
|
||||||
state->ValidateArgCount(4, "A_MonsterMeleeAttack");
|
state->ValidateArgCount(4, "A_MonsterMeleeAttack");
|
||||||
emitters.AddParameterIntConst(state->GetIntArg(0, 3));
|
emitters.AddParameterIntConst(state->GetIntArg(0, 3));
|
||||||
emitters.AddParameterIntConst(state->GetIntArg(1, 8));
|
emitters.AddParameterIntConst(state->GetIntArg(1, 8));
|
||||||
emitters.AddParameterIntConst(state->GetIntArg(2, 0));
|
emitters.AddParameterIntConst(state->GetSoundArg(2, 0));
|
||||||
emitters.AddParameterFloatConst(state->GetFloatArg(3));
|
emitters.AddParameterFloatConst(state->GetFloatArg(3));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue