summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-06-27 18:48:19 -0300
committershennetsind <ind@henn.et>2013-06-27 18:48:19 -0300
commit0ef72c659c3e7b706f39eac36ce9d61bd0b37ee7 (patch)
tree5edffb5dd7100004408e319cf28977fd20694442
parent13b36158e9acc1845e2ac8e102bae0d5c7542279 (diff)
downloadhercules-0ef72c659c3e7b706f39eac36ce9d61bd0b37ee7.tar.gz
hercules-0ef72c659c3e7b706f39eac36ce9d61bd0b37ee7.tar.bz2
hercules-0ef72c659c3e7b706f39eac36ce9d61bd0b37ee7.tar.xz
hercules-0ef72c659c3e7b706f39eac36ce9d61bd0b37ee7.zip
Fixed Bug #7321
Special Thanks to Xgear, he and I spent about 3h to figure this little thing. http://hercules.ws/board/tracker/issue-7321-map-server-connectivity-on-windows/ Signed-off-by: shennetsind <ind@henn.et>
-rw-r--r--src/map/clif.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 06363c8a2..e5132a938 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -17305,6 +17305,9 @@ void clif_partytickack(struct map_session_data* sd, bool flag) {
void clif_status_change_end(struct block_list *bl, int tid, enum send_target target, int type) {
struct packet_status_change_end p;
+ if( bl->type == BL_PC && !((TBL_PC*)bl)->state.active )
+ return;
+
p.PacketType = status_change_endType;
p.index = type;
p.AID = tid;