Browse Source

- 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 years ago
parent
commit
8f76fb4c7b
1 changed files with 3 additions and 1 deletions
  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;
 }