From c653a703757acc13edbff5a2624c16df74cca4f1 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Tue, 16 Apr 2013 03:46:44 -0300 Subject: Fixed Bug #419 added coodinate checks on a number of locations (parse duplicate/warp/shop/etc). http://hercules.ws/board/tracker/issue-419-loading-of-badly-placed-npcs/ Signed-off-by: shennetsind --- src/map/atcommand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/atcommand.c') diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 320613be1..0fc803198 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -9007,7 +9007,7 @@ ACMD_FUNC(channel) { } if( hChSys.ally && sd->status.guild_id ) { struct guild *g = sd->guild; - if( !g ) return -1; + if( !g ) { dbi_destroy(iter); return -1; } sprintf(atcmd_output, msg_txt(1409), hChSys.ally_name, db_size(((struct hChSysCh *)g->channel)->users));// - #%s ( %d users ) clif->message(fd, atcmd_output); } -- cgit v1.2.3-60-g2f50