summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-02 08:40:07 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-02 08:40:07 +0000
commit9fac23efce1933538c22d05a36a5f6a924a32295 (patch)
tree756c3d9456c61180f5d452453d3dba98825f29be /src/map
parente2b788b6bba0754419de5cc5e4214cb7795d5374 (diff)
downloadhercules-9fac23efce1933538c22d05a36a5f6a924a32295.tar.gz
hercules-9fac23efce1933538c22d05a36a5f6a924a32295.tar.bz2
hercules-9fac23efce1933538c22d05a36a5f6a924a32295.tar.xz
hercules-9fac23efce1933538c22d05a36a5f6a924a32295.zip
- 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
Diffstat (limited to 'src/map')
-rw-r--r--src/map/clif.c4
1 files changed, 3 insertions, 1 deletions
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;
}