From d90b2e20d916b9539060dcdb33d13bb41aa1bb89 Mon Sep 17 00:00:00 2001 From: skotlex Date: Mon, 2 Oct 2006 14:19:56 +0000 Subject: - Renamed nopenalty mapflag to noexppenalty. Using nopenalty will turn on/off both noexppenalty and nozenypenalty now. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8915 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/script.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/map/script.c') diff --git a/src/map/script.c b/src/map/script.c index 72d771e88..09fb80b32 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -205,7 +205,8 @@ enum { MF_BEXP, //40 MF_NOVENDING, MF_LOADEVENT, - MF_NOCHAT + MF_NOCHAT, + MF_NOEXPPENALTY }; //Reports on the console the src of an script error. @@ -8234,7 +8235,8 @@ int buildin_setmapflag(struct script_state *st) map[m].flag.nobranch=1; break; case MF_NOPENALTY: - map[m].flag.nopenalty=1; + map[m].flag.noexppenalty=1; + map[m].flag.nozenypenalty=1; break; case MF_NOZENYPENALTY: map[m].flag.nozenypenalty=1; @@ -8378,7 +8380,8 @@ int buildin_removemapflag(struct script_state *st) map[m].flag.nobranch=0; break; case MF_NOPENALTY: - map[m].flag.nopenalty=0; + map[m].flag.noexppenalty=0; + map[m].flag.nozenypenalty=0; break; case MF_PVP: map[m].flag.pvp=0; -- cgit v1.2.3-60-g2f50