diff options
author | Dennis Friis <peavey@inspircd.org> | 2009-06-23 00:22:39 +0200 |
---|---|---|
committer | Dennis Friis <peavey@inspircd.org> | 2009-06-25 01:13:20 +0200 |
commit | 4b825f68fa8e8ec86d6aa1694f629ed348fe50f1 (patch) | |
tree | 54c4567fb51f8b1edb2cde224ea2ef6e7d994053 /src/map/map.h | |
parent | 353fd0ec49222512a4292fb1452c2c82c8e3a38d (diff) | |
download | tmwa-4b825f68fa8e8ec86d6aa1694f629ed348fe50f1.tar.gz tmwa-4b825f68fa8e8ec86d6aa1694f629ed348fe50f1.tar.bz2 tmwa-4b825f68fa8e8ec86d6aa1694f629ed348fe50f1.tar.xz tmwa-4b825f68fa8e8ec86d6aa1694f629ed348fe50f1.zip |
Redo storage, derived from ea stable.
Diffstat (limited to 'src/map/map.h')
-rw-r--r-- | src/map/map.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/map.h b/src/map/map.h index ceb3bbf..3ebb81c 100644 --- a/src/map/map.h +++ b/src/map/map.h @@ -162,7 +162,7 @@ struct map_session_data { unsigned produce_flag : 1; unsigned make_arrow_flag : 1; unsigned potionpitcher_flag : 1; - unsigned storage_flag : 1; + unsigned storage_flag : 2; //0: closed, 1: Normal Storage open, 2: guild storage open [Skotlex] unsigned shroud_active : 1; unsigned shroud_hides_name_talking : 1; unsigned shroud_disappears_on_pickup : 1; @@ -703,6 +703,7 @@ int map_foreachiddb(int (*)(void*,void*,va_list),...); void map_addnickdb(struct map_session_data *); int map_scriptcont(struct map_session_data *sd,int id); /* Continues a script either on a spell or on an NPC */ struct map_session_data * map_nick2sd(char*); +int compare_item(struct item *a, struct item *b); struct map_session_data * map_get_first_session(); struct map_session_data * map_get_last_session(); |