diff options
author | celest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-11-16 04:20:55 +0000 |
---|---|---|
committer | celest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-11-16 04:20:55 +0000 |
commit | a2c41ae05a34029adf70f7e11f47c4e4ba56566b (patch) | |
tree | ead4aace769121712737e5d20aa109f66245c828 /src/map/atcommand.c | |
parent | ec576ee55559c2375d240b16d07ca860acdeb8bd (diff) | |
download | hercules-a2c41ae05a34029adf70f7e11f47c4e4ba56566b.tar.gz hercules-a2c41ae05a34029adf70f7e11f47c4e4ba56566b.tar.bz2 hercules-a2c41ae05a34029adf70f7e11f47c4e4ba56566b.tar.xz hercules-a2c41ae05a34029adf70f7e11f47c4e4ba56566b.zip |
Added 'BaseJob' const and 'indoors' mapflag
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@209 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r-- | src/map/atcommand.c | 2 |
1 files changed, 1 insertions, 1 deletions
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. |