- fixed type of third argument of MBF21's MonsterMeleeAttack function.

This is a sound, not an int.
This commit is contained in:
Christoph Oelckers 2022-06-16 10:31:39 +02:00
parent de4627a477
commit 316b9305a2

View file

@ -802,7 +802,7 @@ static void CreateMonsterMeleeAttackFunc(FunctionCallEmitter &emitters, int valu
state->ValidateArgCount(4, "A_MonsterMeleeAttack");
emitters.AddParameterIntConst(state->GetIntArg(0, 3));
emitters.AddParameterIntConst(state->GetIntArg(1, 8));
emitters.AddParameterIntConst(state->GetIntArg(2, 0));
emitters.AddParameterIntConst(state->GetSoundArg(2, 0));
emitters.AddParameterFloatConst(state->GetFloatArg(3));
}