mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 14:51:40 +00:00
fix mbf21 A_ConsumeAmmo taking 0 ammo instead of 1 if ammopershot field not set (need to amend the spec for this, argh)
This commit is contained in:
parent
00d4442fc8
commit
25f28c4b50
2 changed files with 2 additions and 0 deletions
|
@ -943,6 +943,7 @@ xx(A_FirePlasma)
|
|||
xx(A_FireBFG)
|
||||
xx(A_FireOldBFG)
|
||||
xx(A_FireRailgun)
|
||||
xx(A_ConsumeAmmo)
|
||||
|
||||
// color channels
|
||||
xx(a)
|
||||
|
|
|
@ -237,6 +237,7 @@ static AmmoPerAttack AmmoPerAttacks[] = {
|
|||
{ NAME_A_FireBFG, -1}, // uses deh.BFGCells
|
||||
{ NAME_A_FireOldBFG, 1},
|
||||
{ NAME_A_FireRailgun, 1},
|
||||
{ NAME_A_ConsumeAmmo, 1}, // MBF21
|
||||
{ NAME_None, 0}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue