summaryrefslogtreecommitdiff
path: root/src/game-server/monster.hpp
diff options
context:
space:
mode:
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.