From ad233d01f2c63dab29a0301209196dfd97856130 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 17 Nov 2015 02:42:24 +0300 Subject: Fix compilation without C++11 again. --- src/spellmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/spellmanager.cpp') 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(commandType) == + if (static_cast(commandType) == TextCommandType::Magic) { addSpell(new TextCommand(i, symbol, cmd, comment, -- cgit v1.2.3-60-g2f50