summaryrefslogtreecommitdiff
path: root/src/spellmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-07 17:56:08 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-07 17:56:08 +0300
commit82a4015692e630f36f94a55590c1b59b958c5a17 (patch)
tree72e7cbd31b45e13d252a38d5fcad4620b48ec6b5 /src/spellmanager.cpp
parentafc6bb37100fd110512cd1119920719376e87ecf (diff)
downloadmanaplus-82a4015692e630f36f94a55590c1b59b958c5a17.tar.gz
manaplus-82a4015692e630f36f94a55590c1b59b958c5a17.tar.bz2
manaplus-82a4015692e630f36f94a55590c1b59b958c5a17.tar.xz
manaplus-82a4015692e630f36f94a55590c1b59b958c5a17.zip
add missing const and static keywords.
Diffstat (limited to 'src/spellmanager.cpp')
-rw-r--r--src/spellmanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/spellmanager.cpp b/src/spellmanager.cpp
index 5a9d5cc4f..b1fad932a 100644
--- a/src/spellmanager.cpp
+++ b/src/spellmanager.cpp
@@ -165,7 +165,7 @@ void SpellManager::invoke(const int spellId) const
}
}
-void SpellManager::invokeSpell(const TextCommand *const spell) const
+void SpellManager::invokeSpell(const TextCommand *const spell)
{
if (!chatWindow || !spell)
return;
@@ -173,7 +173,7 @@ void SpellManager::invokeSpell(const TextCommand *const spell) const
}
void SpellManager::invokeSpell(const TextCommand *const spell,
- const Being *const target) const
+ const Being *const target)
{
if (!chatWindow || !spell || !target)
return;