소스 검색

- Forgot to set state.night = 1 in the night timer.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5864 54d463be-8e91-2dee-dedb-b68131a5f0ec
skotlex 19 년 전
부모
커밋
8f76fb4c7b
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      src/map/clif.c

+ 3 - 1
src/map/clif.c

@@ -7844,8 +7844,10 @@ static int clif_nighttimer(int tid, unsigned int tick, int id, int data)
 	if (!sd) return 0;
 
 	//Check if character didn't instant-warped after logging in.
-	if (sd->bl.prev!=NULL)
+	if (sd->bl.prev!=NULL) {
+		sd->state.night = 1;
  		clif_status_load(&sd->bl, SI_NIGHT, 1);
+	}
 	return 0;
 }