summaryrefslogtreecommitdiff
path: root/src/game-server/monster.hpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-26 17:05:18 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-26 17:18:21 +0200
commit43e99491a76bb85faf60c004e84b6c2b14cf41e7 (patch)
tree4aba689b76138118b4da043425fb3e8576db418c /src/game-server/monster.hpp
parente726c34606f85347e70a0deb6b180db03b6d0c25 (diff)
downloadmanaserv-43e99491a76bb85faf60c004e84b6c2b14cf41e7.tar.gz
manaserv-43e99491a76bb85faf60c004e84b6c2b14cf41e7.tar.bz2
manaserv-43e99491a76bb85faf60c004e84b6c2b14cf41e7.tar.xz
manaserv-43e99491a76bb85faf60c004e84b6c2b14cf41e7.zip
Standardize on the position of the const keyword
Same as for the client.
Diffstat (limited to 'src/game-server/monster.hpp')
-rw-r--r--src/game-server/monster.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game-server/monster.hpp b/src/game-server/monster.hpp
index b7c5947f..c25d853e 100644
--- a/src/game-server/monster.hpp
+++ b/src/game-server/monster.hpp
@@ -88,7 +88,7 @@ class MonsterClass
* Sets monster drops. These are the items the monster drops when it
* dies.
*/
- void setDrops(MonsterDrops const &v)
+ void setDrops(const MonsterDrops &v)
{ mDrops = v; }
/**
@@ -249,7 +249,7 @@ class Monster : public Being
/**
* Calls the damage function in Being and updates the aggro list
*/
- virtual int damage(Actor *source, Damage const &damage);
+ virtual int damage(Actor *source, const Damage &damage);
/**
* Removes a being from the anger list.