From 34807ca9fccc7425573256645024722571ef4442 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Thu, 26 Jun 2014 10:27:47 -0700 Subject: specialize inventory/storage indices --- src/map/storage.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/map/storage.hpp') diff --git a/src/map/storage.hpp b/src/map/storage.hpp index 3eab087..fe29664 100644 --- a/src/map/storage.hpp +++ b/src/map/storage.hpp @@ -27,9 +27,11 @@ # include "../mmo/fwd.hpp" +# include "clif.t.hpp" + int storage_storageopen(dumb_ptr sd); -int storage_storageadd(dumb_ptr sd, int index, int amount); -int storage_storageget(dumb_ptr sd, int index, int amount); +int storage_storageadd(dumb_ptr sd, IOff0 index, int amount); +int storage_storageget(dumb_ptr sd, SOff0 index, int amount); int storage_storageclose(dumb_ptr sd); void do_final_storage(void); Storage *account2storage(AccountId account_id); -- cgit v1.2.3-70-g09d2