| 566 | } else if (component == "spell_menu") { |
| 567 | |
| 568 | if (has_character("inspect")) { |
| 569 | |
| 570 | // Work out from the Spell ID if we have enough sp to cast it |
| 571 | const auto &who{_game->characters.at(_characters["inspect"])}; |
| 572 | const auto spell_id{ |
| 573 | magic_enum::enum_cast<Enums::Magic::SpellID>(data)}; |
| 574 |
nothing calls this directly
no outgoing calls
no test coverage detected