diff options
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c index 3d3062fb3..a24011292 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -1999,7 +1999,10 @@ int status_calc_mob_(struct mob_data* md, bool first) if(first) { //Set basic level on respawn. - md->level = md->db->lv; + if (md->level > 0 && md->level <= MAX_LEVEL && md->level != md->db->lv) + ; + else + md->level = md->db->lv; } //Check if we need custom base-status |