summaryrefslogtreecommitdiff
path: root/src/game-server/character.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game-server/character.hpp')
-rw-r--r--src/game-server/character.hpp6
1 files changed, 3 insertions, 3 deletions
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