diff options
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/src/map/script.c b/src/map/script.c index a995b12bb..551e286f1 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -176,7 +176,7 @@ enum { MF_NOTRADE, MF_NOSKILL, MF_NOWARP, - MF_FREE, + MF_PARTYLOCK, MF_NOICEWALL, MF_SNOW, MF_FOG, @@ -206,7 +206,8 @@ enum { MF_NOVENDING, MF_LOADEVENT, MF_NOCHAT, - MF_NOEXPPENALTY + MF_NOEXPPENALTY, + MF_GUILDLOCK }; //Reports on the console the src of an script error. @@ -8378,6 +8379,13 @@ int buildin_setmapflag(struct script_state *st) break; case MF_NOCHAT: map[m].flag.nochat=1; + break; + case MF_PARTYLOCK: + map[m].flag.partylock=1; + break; + case MF_GUILDLOCK: + map[m].flag.guildlock=1; + break; } } @@ -8523,6 +8531,13 @@ int buildin_removemapflag(struct script_state *st) break; case MF_NOCHAT: map[m].flag.nochat=0; + break; + case MF_PARTYLOCK: + map[m].flag.partylock=0; + break; + case MF_GUILDLOCK: + map[m].flag.guildlock=0; + break; } } |