summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorcelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-16 04:20:55 +0000
committercelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-16 04:20:55 +0000
commita2c41ae05a34029adf70f7e11f47c4e4ba56566b (patch)
treeead4aace769121712737e5d20aa109f66245c828 /src/map/script.c
parentec576ee55559c2375d240b16d07ca860acdeb8bd (diff)
downloadhercules-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/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;
}
}