Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/map/pc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Loading