| 566 | const auto &who{ |
| 567 | _game->characters.at(_characters[Enums::CharacterSlot::STORE])}; |
| 568 | #pragma GCC diagnostic push |
| 569 | #pragma GCC diagnostic ignored "-Wsign-compare" |
| 570 | if (selection < who.inventory.items().size()) { |
| 571 | const auto item{who.inventory.items().at(selection)}; |
| 572 | return item.get_equipped() && item.get_cursed(); |
| 573 | } else |
| 574 | return false; |
nothing calls this directly
no outgoing calls
no test coverage detected