From 6e8711b3aa6dde7bd0f863b3cb9fed24cad860f4 Mon Sep 17 00:00:00 2001 From: amber Date: Tue, 21 Dec 2004 16:42:23 +0000 Subject: boo git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@701 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/map.c | 4 +--- 1 file changed, 1 insertion(+), 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) -- cgit v1.2.3-70-g09d2