CleverRaven/Cataclysm-DDA — pull request #10564 by BevapDin (2014-12-20 20:38:12+00:00)
Title: Some small bug fixes

In the order of the commits:

- The material in the filter for sewing was wrong (felt_patch is the repair item, wool is the material).

- Item qualities instead of specific items, enables the lobotomizer there.

- Fixes #7528 - check in `vehicle::remove_part` stops the activity when the part gets removed.

- Fixes #10406 - using `fold_and_print` (which handles the color tags) in the popup function (which is used by the crafting code).

- Fixes #9394 - the code would check for a clear path from monster to the stairs, which would include bashable terrain when the monster bashes. As most terrain is bashable now, and the terrain is not actually destroyed, it looks as if the monsters teleports through the terrain.

- Catch exceptions when deserializing a json object in the map editor.

- Fixes #10561 - the function used there thought the aluminum can can not hold anything as it does not seal, therefor the charges of the soda item were set to 0.

- Fixes http://smf.cataclysmdda.com/index.php?topic=8958.0 - This is an overflow error: the item count is a signed int, when (on a 32 bit system where `sizeof(int)` is 4) entering 10 times the digit 3 and the letter of the item to pick up, the entered count (3,333,333,333) becomes negative.