CleverRaven/Cataclysm-DDA — pull request #7424 by BevapDin (2014-04-26 16:15:42+00:00)
Title: Add body part side to the add_disease call in player::deal_damage for bleeding

The bug report at http://smf.cataclysmdda.com/index.php?topic=6236 says the arm gets hurt, but the player status screen does not show this. Looking at `dis_name`, case for bleeding: it does not handle `bp_hands`. It also does not handle `dis.side != 0 && dis.side != 1` (e.g. the case when `dis.side == -1`).

Looking at `player::deal_damage`, the only place (that I could find) where the bleed disease gets added:
```
add_disease("bleed", 60, false, 1, 3, 120, 1, bp, -1, true);
```
`bp` is the body part, `-1` is the side, `true` means `main_parts_only`. `player::add_disease` makes sure that the body part is only one of the main body parts if `main_parts_only` is set. Also the damage from bleeding is applied with `player::hurt(body_part bphurt, int side, int dam)` which echos a debug message if the body part is not one of the main body parts.

So the body part seems to be correct. But note that `player::hurt` checks the side in a simpler way: `if (side == 0) { ... } else { ... }` - it handles the case `side == -1`. And that's why it can reduce the HP of the arms.

I added the side to the `add_disease` call. The side is alread supplied as parameter to `player::deal_damage`.