summaryrefslogtreecommitdiff
path: root/src/resources/monsterinfo.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-03-25 23:42:57 +0100
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-03-25 23:42:57 +0100
commitcd20fb3432498b8871401bdd65a143197e2a6538 (patch)
tree1edd3e20e3501de5315fa5bfc46b8673ad40d5dd /src/resources/monsterinfo.h
parent4ba8c80791c15c144d66e6a9b23e878d3313fa26 (diff)
downloadmana-client-cd20fb3432498b8871401bdd65a143197e2a6538.tar.gz
mana-client-cd20fb3432498b8871401bdd65a143197e2a6538.tar.bz2
mana-client-cd20fb3432498b8871401bdd65a143197e2a6538.tar.xz
mana-client-cd20fb3432498b8871401bdd65a143197e2a6538.zip
A host of code style fixes
Mostly putting & and * in the right place and making some getters const.
Diffstat (limited to 'src/resources/monsterinfo.h')
-rw-r--r--src/resources/monsterinfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/monsterinfo.h b/src/resources/monsterinfo.h
index 02574147..d8a5bfd0 100644
--- a/src/resources/monsterinfo.h
+++ b/src/resources/monsterinfo.h
@@ -74,7 +74,7 @@ class MonsterInfo
void addParticleEffect(const std::string &filename);
- const std::string& getName() const
+ const std::string &getName() const
{ return mName; }
const std::list<std::string>& getSprites() const