From 65f11a2d85f26932b0e2f0679ddbfc6b6fc4b635 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 15 Jul 2012 18:37:00 +0300 Subject: Fix code style. --- src/spellmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/spellmanager.cpp') 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) -- cgit v1.2.3-70-g09d2