diff options
author | amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-21 16:42:23 +0000 |
---|---|---|
committer | amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-21 16:42:23 +0000 |
commit | 6e8711b3aa6dde7bd0f863b3cb9fed24cad860f4 (patch) | |
tree | 448b80686f60437745c9f3df6cc8d8f106056ac1 /src/map/map.c | |
parent | f951761cb5e72c8ce65d6465af413f0dc2730e72 (diff) | |
download | hercules-6e8711b3aa6dde7bd0f863b3cb9fed24cad860f4.tar.gz hercules-6e8711b3aa6dde7bd0f863b3cb9fed24cad860f4.tar.bz2 hercules-6e8711b3aa6dde7bd0f863b3cb9fed24cad860f4.tar.xz hercules-6e8711b3aa6dde7bd0f863b3cb9fed24cad860f4.zip |
boo
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@701 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.c')
-rw-r--r-- | src/map/map.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/map/map.c b/src/map/map.c index a6317234f..f909953c9 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -959,8 +959,6 @@ void map_addnickdb(struct map_session_data *sd) { *------------------------------------------ */ int map_quit(struct map_session_data *sd) { - int i; - nullpo_retr(0, sd); if(sd->chatID) // チャットから出る @@ -1031,7 +1029,7 @@ int map_quit(struct map_session_data *sd) { //double connect bug fix by Valaris if(sd->alive_timer) { delete_timer(sd->alive_timer,pc_alive_timer); - sd->alive_timer = NULL; + sd->alive_timer = 0; } if( sd->npc_stackbuf && sd->npc_stackbuf != NULL) |