diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/game-server/character.cpp | 2 |
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); } |