| 424 | ////////////////////////////////////////////////////////////////////////// |
| 425 | |
| 426 | LPCSTR InventoryUtilities::GetGoodwillAsText(CHARACTER_GOODWILL goodwill) |
| 427 | { |
| 428 | InitCharacterInfoStrings(); |
| 429 | |
| 430 | CharInfoStrings::const_iterator cit = charInfoGoodwillStrings->upper_bound(goodwill); |
| 431 | if (charInfoGoodwillStrings->end() == cit) |
| 432 | return charInfoGoodwillStrings->rbegin()->second.c_str(); |
| 433 | |
| 434 | return cit->second.c_str(); |
| 435 | } |
| 436 | |
| 437 | ////////////////////////////////////////////////////////////////////////// |
| 438 | // специальная функция для передачи info_portions при нажатии кнопок UI |
nothing calls this directly
no test coverage detected