From de81e609cfff934fbae1b45968e7418ab714c70f Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Sun, 6 Jun 2010 15:45:38 +0200 Subject: More const correctness and small code cleanups --- src/game-server/character.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/game-server/character.hpp') diff --git a/src/game-server/character.hpp b/src/game-server/character.hpp index 056b39f1..7b74c08e 100644 --- a/src/game-server/character.hpp +++ b/src/game-server/character.hpp @@ -330,7 +330,7 @@ class Character : public Being /** * Gets the number of monsters the character killed of a given type */ - int getKillCount(int monsterType); + int getKillCount(int monsterType) const; /** * Shortcut to get being's health @@ -403,12 +403,12 @@ class Character : public Being /** * Returns the exp needed for next skill levelup */ - int getExpNeeded(size_t skill); + int getExpNeeded(size_t skill) const; /** * Returns the exp collected on this skill level */ - int getExpGot(size_t skill); + int getExpGot(size_t skill) const; /** * Recalculates the character level -- cgit v1.2.3-60-g2f50