summaryrefslogtreecommitdiff
path: root/src/spellmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-17 02:42:24 +0300
committerAndrei Karas <akaras@inbox.ru>2015-11-17 02:42:24 +0300
commitad233d01f2c63dab29a0301209196dfd97856130 (patch)
tree5afb423c4fa8b7e0fff90d5f2e80a8663d8f38e8 /src/spellmanager.cpp
parent477e52027f123fef9cc21cd1a66617913b8e1d47 (diff)
downloadmv-ad233d01f2c63dab29a0301209196dfd97856130.tar.gz
mv-ad233d01f2c63dab29a0301209196dfd97856130.tar.bz2
mv-ad233d01f2c63dab29a0301209196dfd97856130.tar.xz
mv-ad233d01f2c63dab29a0301209196dfd97856130.zip
Fix compilation without C++11 again.
Diffstat (limited to 'src/spellmanager.cpp')
-rw-r--r--src/spellmanager.cpp2
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,