diff options
Diffstat (limited to 'src/spellmanager.cpp')
-rw-r--r-- | src/spellmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spellmanager.cpp b/src/spellmanager.cpp index 4383f9331..316ca5530 100644 --- a/src/spellmanager.cpp +++ b/src/spellmanager.cpp @@ -284,7 +284,7 @@ void SpellManager::load(const bool oldConfig) std::string icon = cfg->getValue("commandShortcutIcon" + toString(i), ""); - if (static_cast<TextCommandType>(commandType) == + if (static_cast<TextCommandTypeT>(commandType) == TextCommandType::Magic) { addSpell(new TextCommand(i, symbol, cmd, comment, |