максимальный переносимы вес
| 306 | |
| 307 | //максимальный переносимы вес |
| 308 | float CInventoryOwner::MaxCarryWeight() const |
| 309 | { |
| 310 | float ret = inventory().GetMaxWeight(); |
| 311 | |
| 312 | const CCustomOutfit* outfit = GetOutfit(); |
| 313 | if (outfit) |
| 314 | ret += outfit->m_additional_weight2; |
| 315 | |
| 316 | ret += ArtefactsAddWeight(false); |
| 317 | return ret; |
| 318 | } |
| 319 | |
| 320 | void CInventoryOwner::spawn_supplies() |
| 321 | { |
no test coverage detected