summaryrefslogtreecommitdiff
path: root/src/game-server/character.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game-server/character.cpp')
-rw-r--r--src/game-server/character.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game-server/character.cpp b/src/game-server/character.cpp
index 1015f438..2af2808e 100644
--- a/src/game-server/character.cpp
+++ b/src/game-server/character.cpp
@@ -324,7 +324,7 @@ void Character::sendStatus()
int Character::getAttribute(int attr) const
{
- if (attr <= CHAR_ATTR_NB)
+ if (attr <= CHAR_ATTR_END)
{
return Being::getAttribute(attr);
}