From ac41b6eef235f98928f650d570a893a9db66a586 Mon Sep 17 00:00:00 2001 From: Gepard Date: Thu, 21 Oct 2010 00:38:57 +0000 Subject: * Removed unused 'indoors' mapflag (follow-up to r3729). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14434 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/script.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/map/script.c') diff --git a/src/map/script.c b/src/map/script.c index b37c31c1e..ac7ac9163 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -312,8 +312,8 @@ enum { MF_SAKURA, MF_LEAVES, MF_RAIN, //20 - MF_INDOORS, - MF_NOGO, + // 21 free + MF_NOGO = 22, MF_CLOUDS, MF_CLOUDS2, MF_FIREWORKS, @@ -9161,7 +9161,6 @@ BUILDIN_FUNC(getmapflag) case MF_SAKURA: script_pushint(st,map[m].flag.sakura); break; case MF_LEAVES: script_pushint(st,map[m].flag.leaves); break; case MF_RAIN: script_pushint(st,map[m].flag.rain); break; - case MF_INDOORS: script_pushint(st,map[m].flag.indoors); break; case MF_NIGHTENABLED: script_pushint(st,map[m].flag.nightenabled); break; case MF_NOGO: script_pushint(st,map[m].flag.nogo); break; case MF_NOBASEEXP: script_pushint(st,map[m].flag.nobaseexp); break; @@ -9231,7 +9230,6 @@ BUILDIN_FUNC(setmapflag) case MF_SAKURA: map[m].flag.sakura=1; break; case MF_LEAVES: map[m].flag.leaves=1; break; case MF_RAIN: map[m].flag.rain=1; break; - case MF_INDOORS: map[m].flag.indoors=1; break; case MF_NIGHTENABLED: map[m].flag.nightenabled=1; break; case MF_NOGO: map[m].flag.nogo=1; break; case MF_NOBASEEXP: map[m].flag.nobaseexp=1; break; @@ -9298,7 +9296,6 @@ BUILDIN_FUNC(removemapflag) case MF_SAKURA: map[m].flag.sakura=0; break; case MF_LEAVES: map[m].flag.leaves=0; break; case MF_RAIN: map[m].flag.rain=0; break; - case MF_INDOORS: map[m].flag.indoors=0; break; case MF_NIGHTENABLED: map[m].flag.nightenabled=0; break; case MF_NOGO: map[m].flag.nogo=0; break; case MF_NOBASEEXP: map[m].flag.nobaseexp=0; break; -- cgit v1.2.3-60-g2f50