diff --git a/src/map/pc.c b/src/map/pc.c index 12d2444e713..e9a8a39de0e 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -1375,6 +1375,9 @@ static bool pc_authok(struct map_session_data *sd, int login_id2, time_t expirat sd->lang_id = map->default_lang_id; + sd->regen.skill = &sd->skill_regen; + sd->regen.sitting = &sd->sitting_regen; + //warp player if ((i=pc->setpos(sd,sd->status.last_point.map, sd->status.last_point.x, sd->status.last_point.y, CLR_OUTSIGHT)) != 0) { ShowError ("Last_point_map %s - id %d not found (error code %d)\n", mapindex_id2name(sd->status.last_point.map), sd->status.last_point.map, i);