From 9fac23efce1933538c22d05a36a5f6a924a32295 Mon Sep 17 00:00:00 2001 From: skotlex Date: Sun, 2 Apr 2006 08:40:07 +0000 Subject: - Forgot to set state.night = 1 in the night timer. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5864 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/clif.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/map/clif.c') diff --git a/src/map/clif.c b/src/map/clif.c index 06ae61a5c..ad2294e0a 100644 --- a/src/map/clif.c +++ b/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; } -- cgit v1.2.3-70-g09d2