diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-10-10 21:30:59 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-10-10 21:30:59 +0000 |
commit | 58c9454036c0e1d7dcad6715c69207bef2a621f1 (patch) | |
tree | 66d1c48ce9b12751b7e9cbfd67a01e6e0f501a36 /src/char_sql | |
parent | 00d145ef8a2e658b296de3fbc4ab5918fe4375ae (diff) | |
download | hercules-58c9454036c0e1d7dcad6715c69207bef2a621f1.tar.gz hercules-58c9454036c0e1d7dcad6715c69207bef2a621f1.tar.bz2 hercules-58c9454036c0e1d7dcad6715c69207bef2a621f1.tar.xz hercules-58c9454036c0e1d7dcad6715c69207bef2a621f1.zip |
- Fixed crash when char-server sends to a "random" map-server online on connect.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8960 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql')
-rw-r--r-- | src/char_sql/char.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char_sql/char.c b/src/char_sql/char.c index affdd3a62..629bbade8 100644 --- a/src/char_sql/char.c +++ b/src/char_sql/char.c @@ -3310,7 +3310,7 @@ int parse_char(int fd) { for(j = 0; j < MAX_MAP_SERVERS; j++)
if (server_fd[j] > 0 && server[j].map[0]) {
i = j;
- ShowDebug("Map-server #%d found with a map: '%s'.\n", j, server[j].map[0]);
+ ShowDebug("Map-server #%d found with a map: '%s'.\n", j, mapindex_id2name(server[j].map[0]));
break;
}
// if no map-servers are connected, we send: server closed
|