Chaingun makes two sounds firing single bullet

The chaingun in the Doom games, like its predecessor in Wolfenstein 3D, normally fires an even number of bullets each time the the firing key or button is pressed. When only one bullet remains in the player's supply, that bullet is deducted and a single shot is fired, as expected — but as the engine does not check whether the ammunition has run out when producing the necessary pair of firing noises (which are DSPISTOL), the sound is still played twice as if two shots had been fired.

Some source ports have fixed this bug. However, some DM players pointed out that this changes the gameplay, because you can tell if your opponent has run out of ammo if his/her chaingun emits an odd number of shot sounds.

Demo files

 * [[Media:d229chgn.lmp|The chaingun sound bug]] (file info) on Level 29: The Living End in Doom II