From 836793f1d56ffa1526980f0e7f0aed81009df5ed Mon Sep 17 00:00:00 2001 From: xantara Date: Fri, 8 Jun 2012 07:27:13 +0000 Subject: ` Fixed bugreport:5717 if character's last map is invalid, move to a major city git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16241 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/char/char.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/char/char.c') diff --git a/src/char/char.c b/src/char/char.c index fbfbce285..914bb086b 100644 --- a/src/char/char.c +++ b/src/char/char.c @@ -3592,7 +3592,7 @@ int parse_char(int fd) i = search_mapserver(cd->last_point.map, -1, -1); // if map is not found, we check major cities - if (i < 0) { + if (i < 0 || !cd->last_point.map) { unsigned short j; //First check that there's actually a map server online. ARR_FIND( 0, ARRAYLENGTH(server), j, server[j].fd >= 0 && server[j].map[0] ); -- cgit v1.2.3-70-g09d2