From af99be9bd11d716e0b8ef8eab4a36c9b9925e4c8 Mon Sep 17 00:00:00 2001 From: ultramage Date: Sun, 27 Apr 2008 11:06:55 +0000 Subject: Cleaning up the itemdb reload mess (see r12635, r12643, r12650, r12661, r12662, r12663) * the player data inventory-itemdb index is now refreshed using pc_setinventorydata() * mobdb will no longer initialize with nonexistent items, and mobs will no longer drop them in case of a reload * the clif_buylist() function once again hides invalid npc shop items * it is no longer possible to purchase nonexistent items from a npc shop * npc shop loading will not abort if there is a nonexistent item entry, it will just skip over it git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12665 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/storage.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/map/storage.h') diff --git a/src/map/storage.h b/src/map/storage.h index 0822d37ce..565495a9b 100644 --- a/src/map/storage.h +++ b/src/map/storage.h @@ -14,7 +14,6 @@ struct map_session_data; int storage_storageopen(struct map_session_data *sd); int storage_storageadd(struct map_session_data *sd,int index,int amount); int storage_storageget(struct map_session_data *sd,int index,int amount); -int storage_delitem(struct map_session_data *sd,struct storage *stor,int n,int amount); int storage_storageaddfromcart(struct map_session_data *sd,int index,int amount); int storage_storagegettocart(struct map_session_data *sd,int index,int amount); int storage_storageclose(struct map_session_data *sd); -- cgit v1.2.3-60-g2f50