diff options
author | amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-05 05:23:42 +0000 |
---|---|---|
committer | amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-05 05:23:42 +0000 |
commit | e96413206e743d6d4d20955e41740104164997c7 (patch) | |
tree | 6b977039307d4012bfecc17c89ee6e2cd39995b1 /src | |
parent | 9ee58cbba214b49a0399f564478e22790080fa72 (diff) | |
download | hercules-e96413206e743d6d4d20955e41740104164997c7.tar.gz hercules-e96413206e743d6d4d20955e41740104164997c7.tar.bz2 hercules-e96413206e743d6d4d20955e41740104164997c7.tar.xz hercules-e96413206e743d6d4d20955e41740104164997c7.zip |
update
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@454 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r-- | src/map/clif.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index bcccadfab..fb01d10fd 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -362,6 +362,8 @@ int clif_send(unsigned char *buf, int len, struct block_list *bl, int type) { if (p) { for(i=0;i<MAX_PARTY;i++){ if ((sd = p->member[i].sd) != NULL) { + if ((session[sd->fd] == NULL) || (session[sd->fd]->session_data == NULL)) + continue; if (sd->bl.id == bl->id && (type == PARTY_WOS || type == PARTY_SAMEMAP_WOS || type == PARTY_AREA_WOS)) continue; |