diff options
author | Komurka <Komurka@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-01-30 14:24:26 +0000 |
---|---|---|
committer | Komurka <Komurka@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-01-30 14:24:26 +0000 |
commit | f1375b9ae3116eb408a962d9b03a5f64df6747f3 (patch) | |
tree | 1d604d92fcd06a02203f313d7fed46eb3f2f4da4 /src/map/map.h | |
parent | 66e4865ef4398014c67057e851456df1261c3c66 (diff) | |
download | hercules-f1375b9ae3116eb408a962d9b03a5f64df6747f3.tar.gz hercules-f1375b9ae3116eb408a962d9b03a5f64df6747f3.tar.bz2 hercules-f1375b9ae3116eb408a962d9b03a5f64df6747f3.tar.xz hercules-f1375b9ae3116eb408a962d9b03a5f64df6747f3.zip |
* Added 'restricted' mapflag, based on lordalfa patch
- you can set restriction zone on map (see mapflag/restricted.txt)
- you can turn off item usage on certain restricted map in item_noequip.txt
- you can turn off skill usage on certain restricted map in skill_nocast_db.txt
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5115 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.h')
-rw-r--r-- | src/map/map.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/map.h b/src/map/map.h index 26e5875f4..3f7226eba 100644 --- a/src/map/map.h +++ b/src/map/map.h @@ -1023,6 +1023,7 @@ struct map_data { unsigned nomobloot : 1; // [Lorky]
unsigned nomvploot : 1; // [Lorky]
unsigned nightenabled :1; //For night display. [Skotlex]
+ unsigned restricted : 1; // [Komurka]
} flag;
struct point save;
struct npc_data *npc[MAX_NPC_PER_MAP];
@@ -1033,6 +1034,7 @@ struct map_data { } drop_list[MAX_DROP_PER_MAP];
struct mob_list *moblist[MAX_MOB_LIST_PER_MAP]; // [Wizputer]
int mob_delete_timer; // [Skotlex]
+ int zone; // [Komurka]
};
struct map_data_other_server {
|