diff --git a/src/common/engine/namedef.h b/src/common/engine/namedef.h index 4895070618..309b4c2411 100644 --- a/src/common/engine/namedef.h +++ b/src/common/engine/namedef.h @@ -943,6 +943,7 @@ xx(A_FirePlasma) xx(A_FireBFG) xx(A_FireOldBFG) xx(A_FireRailgun) +xx(A_ConsumeAmmo) // color channels xx(a) diff --git a/src/gamedata/d_dehacked.cpp b/src/gamedata/d_dehacked.cpp index 1e72430566..7ed1713749 100644 --- a/src/gamedata/d_dehacked.cpp +++ b/src/gamedata/d_dehacked.cpp @@ -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} };