CleverRaven/Cataclysm-DDA — pull request #7689 by Lucasargh (2014-05-19 04:31:17+00:00)
Title: Fixes the issue of activating items with 0 charges still activating.

This is a fix for sewing kits, fire extinguishers, things that start fire (that use charges), and jackhammers. I believe that there may be a more efficient way of doing this, specifically in player.cpp around line 8808, which would allow for all of these lines, and other ones that currently exist (like flashlights, power supplies, etc.) to be combined into one place, but this solution seems to work for the time being.

Super new to git and c++ in general, so let me know if there's something that I should keep in mind for the future.