From a2c41ae05a34029adf70f7e11f47c4e4ba56566b Mon Sep 17 00:00:00 2001 From: celest Date: Tue, 16 Nov 2004 04:20:55 +0000 Subject: Added 'BaseJob' const and 'indoors' mapflag git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@209 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/atcommand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/atcommand.c') diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 606f63f8b..d0a222c12 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -4498,7 +4498,7 @@ int atcommand_night( if (night_flag != 1) { night_flag = 1; // 0=day, 1=night [Yor] for(i = 0; i < fd_max; i++) { - if (session[i] && (pl_sd = session[i]->session_data) && pl_sd->state.auth) { + if (session[i] && (pl_sd = session[i]->session_data) && pl_sd->state.auth && !map[sd->bl.m].flag.indoors) { pl_sd->opt2 |= STATE_BLIND; clif_changeoption(&pl_sd->bl); clif_displaymessage(pl_sd->fd, msg_table[59]); // Night has fallen. -- cgit v1.2.3-70-g09d2