diff options
Diffstat (limited to 'src/spellmanager.cpp')
-rw-r--r-- | src/spellmanager.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/spellmanager.cpp b/src/spellmanager.cpp index 2020dae11..35ccbf651 100644 --- a/src/spellmanager.cpp +++ b/src/spellmanager.cpp @@ -265,15 +265,15 @@ void SpellManager::load() return; } - unsigned int targetType; - unsigned int basicLvl; - unsigned int school; - unsigned int schoolLvl; - unsigned int mana; - unsigned int commandType; - for (unsigned i = 0; i < SPELL_SHORTCUT_ITEMS * SPELL_SHORTCUT_TABS; i++) { + unsigned int targetType; + unsigned int basicLvl; + unsigned int school; + unsigned int schoolLvl; + unsigned int mana; + unsigned int commandType; + std::string flags = cfg->getValue("commandShortcutFlags" + toString(i), ""); std::stringstream ss(flags); |