Skip to content

Commit

Permalink
- fixed type of third argument of MBF21's MonsterMeleeAttack function.
Browse files Browse the repository at this point in the history
This is a sound, not an int.
  • Loading branch information
coelckers committed Jun 16, 2022
1 parent de4627a commit 316b930
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gamedata/d_dehacked.cpp
Expand Up @@ -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));

}
Expand Down

0 comments on commit 316b930

Please sign in to comment.