diff options
author | shennetsind <ind@henn.et> | 2013-05-07 19:02:38 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-05-07 19:02:38 -0300 |
commit | 36383ebd1423d2c8f6e0495046de27708160109c (patch) | |
tree | 677058ef25197255ccf131e531382b697cc15f2f /src/map/atcommand.c | |
parent | d95d6891713747e058b2cedf7e5811a6918f71d4 (diff) | |
download | hercules-36383ebd1423d2c8f6e0495046de27708160109c.tar.gz hercules-36383ebd1423d2c8f6e0495046de27708160109c.tar.bz2 hercules-36383ebd1423d2c8f6e0495046de27708160109c.tar.xz hercules-36383ebd1423d2c8f6e0495046de27708160109c.zip |
Cart Fix
cart 'items' button no longer remains visible after the cart has been removed. -- Special Thanks to Wolfed.
Improved status change end, now only sends the termination packet to those that matter, as opposed to always sending to those nearby, and made it smaller.
Made possible thanks to super awesome Yommy :3
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r-- | src/map/atcommand.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 5b82666fb..33e0d03cb 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -2244,7 +2244,10 @@ ACMD(displaystatus) if (i < 2) flag = 1; if (i < 3) tick = 0; - clif->status_change(&sd->bl, type, flag, tick, val1, val2, val3); + if( flag == 0 ) + clif->sc_end(&sd->bl,sd->bl.id,AREA,type); + else + clif->status_change(&sd->bl, type, flag, tick, val1, val2, val3); return true; } |