Fix partly-used ammo and food not dividing volume correctly.

Fixes #530, because I clearly haven't submitted enough PRs today.