summaryrefslogtreecommitdiff
path: root/src/map/pc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/pc.h')
-rw-r--r--src/map/pc.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/map/pc.h b/src/map/pc.h
index cc8d83b65..75ea3d359 100644
--- a/src/map/pc.h
+++ b/src/map/pc.h
@@ -32,6 +32,7 @@
#include "map/script.h" // struct reg_db
#include "map/searchstore.h" // struct s_search_store_info
#include "map/status.h" // enum sc_type, OPTION_*
+#include "map/storage.h"
#include "map/unit.h" // struct unit_data, struct view_data
#include "map/vending.h" // struct s_vending
#include "common/db.h"
@@ -263,7 +264,11 @@ struct map_session_data {
struct mmo_charstatus status;
struct item_data *inventory_data[MAX_INVENTORY]; // direct pointers to itemdb entries (faster than doing item_id lookups)
- struct storage_data storage; ///< Account Storage
+ struct {
+ int current; ///< Marker for the current storage ID in use.
+ enum storage_access_modes access; ///< Access level for the user.
+ VECTOR_DECL(struct storage_data) list; ///< Account Storage
+ } storage;
enum pc_checkitem_types itemcheck;
short equip_index[EQI_MAX];
unsigned int weight,max_weight;