diff options
author | amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-05 04:50:41 +0000 |
---|---|---|
committer | amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-05 04:50:41 +0000 |
commit | 1e6f493eab41de9a948314c3e1ba4f2e9d9df4d2 (patch) | |
tree | cda2adb1714c257e011463af26aff6a33761dfd3 /src/map | |
parent | c7c084a2111cf5fe0ed781c524acabfecee42030 (diff) | |
download | hercules-1e6f493eab41de9a948314c3e1ba4f2e9d9df4d2.tar.gz hercules-1e6f493eab41de9a948314c3e1ba4f2e9d9df4d2.tar.bz2 hercules-1e6f493eab41de9a948314c3e1ba4f2e9d9df4d2.tar.xz hercules-1e6f493eab41de9a948314c3e1ba4f2e9d9df4d2.zip |
updates
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@452 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/clif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 79ca0e227..bcccadfab 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -256,7 +256,7 @@ int clif_send_sub(struct block_list *bl, va_list ap) break; } - if (sd) { + if ((sd != NULL) && (session[sd->fd] != NULL)) { if (WFIFOP(sd->fd,0) == buf) { printf("WARNING: Invalid use of clif_send function\n"); printf(" Packet x%4x use a WFIFO of a player instead of to use a buffer.\n", WBUFW(buf,0)); |