From 43e99491a76bb85faf60c004e84b6c2b14cf41e7 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Sun, 26 Apr 2009 17:05:18 +0200 Subject: Standardize on the position of the const keyword Same as for the client. --- src/game-server/monster.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game-server/monster.hpp') 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. -- cgit v1.2.3-70-g09d2