Chaosforge Forum

DoomRL => Bug Reports => Topic started by: Mogul on April 03, 2012, 01:07

Title: [Fixed][0.9.9.6G Win] Overfilled Guns & Reloading negative ammo
Post by: Mogul on April 03, 2012, 01:07
It's possible to acquire a Storm Bolter pistol with 10 out of 9 bullets loaded.
If you reload it, it gets filled to 265/9, and if this would cause you to consume an ammo stack, that stack is instead filled to 65536 minus the ammo difference. If you drop that stack and pick it back up, it's converted to 250 ammo and stacks normally again. If you put the Storm bolter from your hands in your inventory, it gets reduced to 75/9 ammo.

If you ever fire enough bullets to drop the ammo count below the max, it functions normally again.

Howto:
Spoiler (click to show/hide)
Image:
Spoiler (click to show/hide)
Title: Re: [0.9.9.6G Win] Overfilled Guns & Reloading negative ammo
Post by: tehtmi on April 03, 2012, 01:13
We've currently fixed this in the svn repository by removing excess ammo when assembling the storm bolter.
Title: Re: [Fixed][0.9.9.6G Win] Overfilled Guns & Reloading negative ammo
Post by: stargazer-3 on April 27, 2012, 21:54
Uhm.. Don't know if it's still needed, but..
Confirm the bug for 64-bit Ubuntu 11.10. Seems to be affecting storm bolter pistol only.
Cheers.