diff options
Diffstat (limited to 'src/game/World.h')
-rw-r--r-- | src/game/World.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/World.h b/src/game/World.h index a5de315ad7a..cbfc5a9a36d 100644 --- a/src/game/World.h +++ b/src/game/World.h @@ -518,7 +518,7 @@ class World /// Get the maximum skill level a player can reach uint16 GetConfigMaxSkillValue() const { - uint32 lvl = getConfig(CONFIG_MAX_PLAYER_LEVEL); + uint8 lvl = getConfig(CONFIG_MAX_PLAYER_LEVEL); return lvl > 60 ? 300 + ((lvl - 60) * 75) / 10 : lvl*5; } |