diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-07-15 18:37:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-07-15 18:37:00 +0300 |
commit | 65f11a2d85f26932b0e2f0679ddbfc6b6fc4b635 (patch) | |
tree | 493d6441dd152419908d28178c26112a4639e89f /src/spellmanager.cpp | |
parent | e1e411459e9c9aae819eee474d48d0cc20f6ca07 (diff) | |
download | manaplus-65f11a2d85f26932b0e2f0679ddbfc6b6fc4b635.tar.gz manaplus-65f11a2d85f26932b0e2f0679ddbfc6b6fc4b635.tar.bz2 manaplus-65f11a2d85f26932b0e2f0679ddbfc6b6fc4b635.tar.xz manaplus-65f11a2d85f26932b0e2f0679ddbfc6b6fc4b635.zip |
Fix code style.
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 ed6989280..222004347 100644 --- a/src/spellmanager.cpp +++ b/src/spellmanager.cpp @@ -141,7 +141,7 @@ void SpellManager::invoke(int spellId) && PlayerInfo::getStatEffective(SKILL_MAGIC) >= spell->getBaseLvl() && PlayerInfo::getStatEffective( spell->getSchool()) >= spell->getSchoolLvl() - && PlayerInfo::getAttribute(MP) >= spell->getMana())) + && PlayerInfo::getAttribute(PlayerInfo::MP) >= spell->getMana())) { Being* target = player_node->getTarget(); if (spell->getTargetType() == NOTARGET) |