Преглед изворни кода

boo

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@701 54d463be-8e91-2dee-dedb-b68131a5f0ec
amber пре 20 година
родитељ
комит
a00d0713a1
1 измењених фајлова са 1 додато и 3 уклоњено
  1. 1 3
      src/map/map.c

+ 1 - 3
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)	// ƒ`ƒƒƒbƒg‚©‚ç�o‚é
@@ -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)