diff options
author | L0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-09-09 17:33:10 +0000 |
---|---|---|
committer | L0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-09-09 17:33:10 +0000 |
commit | e02e0c5cba6e83986da6fdce9c69a9201f9a271f (patch) | |
tree | 2cefad3c969bea2a2c5d25e3c220eafc2451301a /src/map/map.h | |
parent | 45e089c554e673f7dc017c45bdfa68663713cda9 (diff) | |
download | hercules-e02e0c5cba6e83986da6fdce9c69a9201f9a271f.tar.gz hercules-e02e0c5cba6e83986da6fdce9c69a9201f9a271f.tar.bz2 hercules-e02e0c5cba6e83986da6fdce9c69a9201f9a271f.tar.xz hercules-e02e0c5cba6e83986da6fdce9c69a9201f9a271f.zip |
Enabled WoE SE to be run independently of WoE. Let's see how long it is before something blows up, or Ultramage pulls out his hair while cursing my existence.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13202 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.h')
-rw-r--r-- | src/map/map.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map/map.h b/src/map/map.h index 4a8be92ed..01ac74cba 100644 --- a/src/map/map.h +++ b/src/map/map.h @@ -156,9 +156,9 @@ enum { #define DEFAULT_AUTOSAVE_INTERVAL 5*60*1000 //Specifies maps where players may hit each other -#define map_flag_vs(m) (map[m].flag.pvp || map[m].flag.gvg_dungeon || map[m].flag.gvg || (agit_flag && map[m].flag.gvg_castle)) +#define map_flag_vs(m) (map[m].flag.pvp || map[m].flag.gvg_dungeon || map[m].flag.gvg || ((agit_flag || agit2_flag) && map[m].flag.gvg_castle)) //Specifies maps that have special GvG/WoE restrictions -#define map_flag_gvg(m) (map[m].flag.gvg || (agit_flag && map[m].flag.gvg_castle)) +#define map_flag_gvg(m) (map[m].flag.gvg || ((agit_flag || agit2_flag) && map[m].flag.gvg_castle)) //Specifies if the map is tagged as GvG/WoE (regardless of agit_flag status) #define map_flag_gvg2(m) (map[m].flag.gvg || map[m].flag.gvg_castle) // No Kill Steal Protection @@ -496,6 +496,7 @@ extern int autosave_interval; extern int minsave_interval; extern int save_settings; extern int agit_flag; +extern int agit2_flag; extern int night_flag; // 0=day, 1=night [Yor] extern int enable_spy; //Determines if @spy commands are active. extern char db_path[256]; |