diff options
author | codemaster <codemaster@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-11-08 02:02:10 +0000 |
---|---|---|
committer | codemaster <codemaster@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-11-08 02:02:10 +0000 |
commit | 5efe759526840eaea1a993f892127c4eff722994 (patch) | |
tree | 2a4a508f56977242a5f7afae5cdf69770f4bd286 /src/map | |
parent | b982da15c213a96d4621f7f756efe86f9a1e87a7 (diff) | |
download | hercules-5efe759526840eaea1a993f892127c4eff722994.tar.gz hercules-5efe759526840eaea1a993f892127c4eff722994.tar.bz2 hercules-5efe759526840eaea1a993f892127c4eff722994.tar.xz hercules-5efe759526840eaea1a993f892127c4eff722994.zip |
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@55 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/clif.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 53d29ea09..c8309a20a 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -1695,7 +1695,10 @@ static int clif_waitclose(int tid, unsigned int tick, int id, int data) { *------------------------------------------
*/
void clif_setwaitclose(int fd) {
- add_timer(gettick() + 5000, clif_waitclose, fd, 0);
+ if((sd=session[fd]->session_data) == NULL
+ add_timer(gettick() + 1000, clif_waitclose, fd, 0);
+ else
+ add_timer(gettick() + 5000, clif_waitclose, fd, 0);
}
/*==========================================
|