diff options
author | Haru <haru@dotalux.com> | 2016-07-02 18:59:30 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-07-02 18:59:30 +0200 |
commit | 657d772c70e07afc2188c200247f73f03879884d (patch) | |
tree | 8cc574e9b772a975027839762f48d752c3334d21 /src/map/atcommand.c | |
parent | 0b7498bd5c252094fd429b46be847dcd24066a2e (diff) | |
download | hercules-657d772c70e07afc2188c200247f73f03879884d.tar.gz hercules-657d772c70e07afc2188c200247f73f03879884d.tar.bz2 hercules-657d772c70e07afc2188c200247f73f03879884d.tar.xz hercules-657d772c70e07afc2188c200247f73f03879884d.zip |
Trivialities: indentation fixes
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r-- | src/map/atcommand.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 858bfea1b..eef67189a 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -250,22 +250,22 @@ ACMD(send) clif->message(fd, atcmd_output); return false; } - + if (len) { // show packet length safesnprintf(atcmd_output, sizeof(atcmd_output), msg_fd(fd,904), type, clif->packet(type)->len); // Packet 0x%x length: %d clif->message(fd, atcmd_output); return true; } - + len = clif->packet(type)->len; - + if (len == -1) { // dynamic packet len = SHRT_MAX-4; // maximum length off = 4; } - + WFIFOHEAD(sd->fd, len); WFIFOW(sd->fd,0)=TOW(type); @@ -3732,7 +3732,7 @@ ACMD(reloadscript) { * 1 = Show users in that map and their location * 2 = Shows NPCs in that map * 3 = Shows the chats in that map - TODO# add the missing mapflags e.g. adjust_skill_damage to display + * TODO# add the missing mapflags e.g. adjust_skill_damage to display *------------------------------------------*/ ACMD(mapinfo) { |