MCPcopy Create free account
hub / github.com/davemoore22/sorcery / get_can_undo

Method get_can_undo

src/core/controller.cpp:568–571  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected