* Get the amount of fatal wound for a body part * @param part The body part (in the range 0-5) * @return The amount of fatal wound of a body part */
| 2038 | * @return The amount of fatal wound of a body part |
| 2039 | */ |
| 2040 | int BattleUnit::getFatalWound(int part) const |
| 2041 | { |
| 2042 | if (part < 0 || part > 5) |
| 2043 | return 0; |
| 2044 | return _fatalWounds[part]; |
| 2045 | } |
| 2046 | |
| 2047 | /** |
| 2048 | * Heal a fatal wound of the soldier |
no outgoing calls
no test coverage detected