diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-09-21 01:06:13 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-09-21 01:06:13 +0300 |
commit | 529d5ac21229ba7678bba9832f69448898b159b9 (patch) | |
tree | 0481fb34b969e423681a520617fd02d7a4c5b8d5 /src/spellmanager.cpp | |
parent | b10b9bbf68702e7c2b728d4036391399ae397eaa (diff) | |
download | plus-529d5ac21229ba7678bba9832f69448898b159b9.tar.gz plus-529d5ac21229ba7678bba9832f69448898b159b9.tar.bz2 plus-529d5ac21229ba7678bba9832f69448898b159b9.tar.xz plus-529d5ac21229ba7678bba9832f69448898b159b9.zip |
Fix code style.
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); |