mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
[9398] Some config enmus fixes.
This commit is contained in:
parent
f9db93e78b
commit
d20e50a8e5
4 changed files with 5 additions and 6 deletions
|
|
@ -4244,7 +4244,7 @@ void Player::ResurrectPlayer(float restore_percent, bool applySickness)
|
|||
//Characters from level 11-19 will suffer from one minute of sickness
|
||||
//for each level they are above 10.
|
||||
//Characters level 20 and up suffer from ten minutes of sickness.
|
||||
int32 startLevel = sWorld.getConfig(CONFIG_UINT32_DEATH_SICKNESS_LEVEL);
|
||||
int32 startLevel = sWorld.getConfig(CONFIG_INT32_DEATH_SICKNESS_LEVEL);
|
||||
|
||||
if(int32(getLevel()) >= startLevel)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue