From 4b825f68fa8e8ec86d6aa1694f629ed348fe50f1 Mon Sep 17 00:00:00 2001 From: Dennis Friis Date: Tue, 23 Jun 2009 00:22:39 +0200 Subject: Redo storage, derived from ea stable. --- src/map/map.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/map/map.h') 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(); -- cgit v1.2.3-70-g09d2