summaryrefslogtreecommitdiff
path: root/src/spellmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-02 12:49:08 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-02 12:49:08 +0300
commit5c3746562bafd61603c67958fc82ff097a69e3a4 (patch)
treec36e46dd4df2bc7388e7e82b6e6ae8294c4ecd02 /src/spellmanager.h
parent60b386b1a97a052cea867dd3a4f7a9c52394b312 (diff)
downloadManaVerse-5c3746562bafd61603c67958fc82ff097a69e3a4.tar.gz
ManaVerse-5c3746562bafd61603c67958fc82ff097a69e3a4.tar.bz2
ManaVerse-5c3746562bafd61603c67958fc82ff097a69e3a4.tar.xz
ManaVerse-5c3746562bafd61603c67958fc82ff097a69e3a4.zip
Add missing const and static into other classes.
Diffstat (limited to 'src/spellmanager.h')
-rw-r--r--src/spellmanager.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/spellmanager.h b/src/spellmanager.h
index c30fa645f..9fb5da850 100644
--- a/src/spellmanager.h
+++ b/src/spellmanager.h
@@ -75,9 +75,9 @@ class SpellManager final
void invokeSpell(const TextCommand *const spell) const;
- std::string parseCommand(std::string command,
- const Being *const target)
- const A_WARN_UNUSED;
+ static std::string parseCommand(std::string command,
+ const Being *const target)
+ A_WARN_UNUSED;
std::map<unsigned int, TextCommand*> mSpells;
std::vector<TextCommand*> mSpellsVector;