diff options
author | Haru <haru@dotalux.com> | 2015-09-30 13:00:23 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2015-10-11 00:24:23 +0200 |
commit | 845139091f0305d264800491ce25152856c20374 (patch) | |
tree | 6973517e1821f128b36955fc258419131b98f7fc /src/char/loginif.c | |
parent | 868d131d6f968bc65746afe1247c10e4a55e8186 (diff) | |
download | hercules-845139091f0305d264800491ce25152856c20374.tar.gz hercules-845139091f0305d264800491ce25152856c20374.tar.bz2 hercules-845139091f0305d264800491ce25152856c20374.tar.xz hercules-845139091f0305d264800491ce25152856c20374.zip |
Changed chr->server[].maps to a VECTOR
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/char/loginif.c')
-rw-r--r-- | src/char/loginif.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/char/loginif.c b/src/char/loginif.c index 422c7c589..e99e05237 100644 --- a/src/char/loginif.c +++ b/src/char/loginif.c @@ -63,8 +63,8 @@ void loginif_on_ready(void) chr->send_accounts_tologin(INVALID_TIMER, timer->gettick(), 0, 0); // if no map-server already connected, display a message... - ARR_FIND( 0, ARRAYLENGTH(chr->server), i, chr->server[i].fd > 0 && chr->server[i].map ); - if( i == ARRAYLENGTH(chr->server) ) + ARR_FIND(0, ARRAYLENGTH(chr->server), i, chr->server[i].fd > 0 && VECTOR_LENGTH(chr->server[i].maps)); + if (i == ARRAYLENGTH(chr->server)) ShowStatus("Awaiting maps from map-server.\n"); } |