From ddab27691b66fa40dd97231b59f576b73c03cd39 Mon Sep 17 00:00:00 2001 From: hemagx Date: Mon, 14 Dec 2015 02:31:51 +0200 Subject: follow up f975f0a55ca930fd0f95a6209bea479ac9bc3a5d --- src/map/pc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map') diff --git a/src/map/pc.c b/src/map/pc.c index a0af3a04b..2f112b149 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -1167,7 +1167,7 @@ bool pc_authok(struct map_session_data *sd, int login_id2, time_t expiration_tim clif->authfail_fd(sd->fd, 0); return false; } - } else if (map->getcell(sd->status.last_point.map, &sd->bl, sd->status.last_point.x, sd->status.last_point.y, CELL_CHKNOPASS)) { + } else if (map->getcell(map->mapindex2mapid(sd->status.last_point.map), &sd->bl, sd->status.last_point.x, sd->status.last_point.y, CELL_CHKNOPASS)) { //warp player stuck in invaild cell pc->setpos(sd,sd->status.last_point.map,0,0,CLR_OUTSIGHT); } -- cgit v1.2.3-60-g2f50