summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-04-16 03:46:44 -0300
committershennetsind <ind@henn.et>2013-04-16 03:46:44 -0300
commitc653a703757acc13edbff5a2624c16df74cca4f1 (patch)
tree887e9e464b13680ed67d8636fb136b60121655d3 /src/map/atcommand.c
parent8ec2352c28f7495b7e3c81a8920e40b57d5074e9 (diff)
downloadhercules-c653a703757acc13edbff5a2624c16df74cca4f1.tar.gz
hercules-c653a703757acc13edbff5a2624c16df74cca4f1.tar.bz2
hercules-c653a703757acc13edbff5a2624c16df74cca4f1.tar.xz
hercules-c653a703757acc13edbff5a2624c16df74cca4f1.zip
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 <ind@henn.et>
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c2
1 files changed, 1 insertions, 1 deletions
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);
}