summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 6e69bb5d0..73d52679c 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -4584,7 +4584,7 @@ int buildin_isloggedin(struct script_state *st)
*------------------------------------------
*/
enum { MF_NOMEMO,MF_NOTELEPORT,MF_NOSAVE,MF_NOBRANCH,MF_NOPENALTY,MF_NOZENYPENALTY,MF_PVP,MF_PVP_NOPARTY,MF_PVP_NOGUILD,MF_GVG,MF_GVG_NOPARTY,MF_NOTRADE,MF_NOSKILL, MF_NOWARP,MF_NOPVP,MF_NOICEWALL,
- MF_SNOW, MF_FOG, MF_SAKURA, MF_LEAVES, MF_RAIN };
+ MF_SNOW, MF_FOG, MF_SAKURA, MF_LEAVES, MF_RAIN, MF_INDOORS };
int buildin_setmapflagnosave(struct script_state *st)
{
@@ -4670,6 +4670,9 @@ int buildin_setmapflag(struct script_state *st)
case MF_RAIN: // [Valaris]
map[m].flag.rain=1;
break;
+ case MF_INDOORS: // celest
+ map[m].flag.indoors=1;
+ break;
}
}
@@ -4740,7 +4743,9 @@ int buildin_removemapflag(struct script_state *st)
case MF_RAIN: // [Valaris]
map[m].flag.rain=0;
break;
-
+ case MF_INDOORS: // celest
+ map[m].flag.indoors=0;
+ break;
}
}