diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-11-17 02:42:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-11-17 02:42:24 +0300 |
commit | ad233d01f2c63dab29a0301209196dfd97856130 (patch) | |
tree | 5afb423c4fa8b7e0fff90d5f2e80a8663d8f38e8 /src/spellmanager.cpp | |
parent | 477e52027f123fef9cc21cd1a66617913b8e1d47 (diff) | |
download | manaplus-ad233d01f2c63dab29a0301209196dfd97856130.tar.gz manaplus-ad233d01f2c63dab29a0301209196dfd97856130.tar.bz2 manaplus-ad233d01f2c63dab29a0301209196dfd97856130.tar.xz manaplus-ad233d01f2c63dab29a0301209196dfd97856130.zip |
Fix compilation without C++11 again.
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, |