diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-04-27 11:06:55 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-04-27 11:06:55 +0000 |
commit | af99be9bd11d716e0b8ef8eab4a36c9b9925e4c8 (patch) | |
tree | 45c74210524f6069f3cb6750744cb59af5031c30 /src/map/mob.h | |
parent | 8dedf18e168afd90230af1997edb593431b36e03 (diff) | |
download | hercules-af99be9bd11d716e0b8ef8eab4a36c9b9925e4c8.tar.gz hercules-af99be9bd11d716e0b8ef8eab4a36c9b9925e4c8.tar.bz2 hercules-af99be9bd11d716e0b8ef8eab4a36c9b9925e4c8.tar.xz hercules-af99be9bd11d716e0b8ef8eab4a36c9b9925e4c8.zip |
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
Diffstat (limited to 'src/map/mob.h')
-rw-r--r-- | src/map/mob.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/map/mob.h b/src/map/mob.h index 44fae102e..f01b4fff1 100644 --- a/src/map/mob.h +++ b/src/map/mob.h @@ -83,11 +83,6 @@ struct mob_db { struct spawn_info spawn[10]; }; -typedef struct mob_db s_mob_db; -extern struct mob_db *mob_db_data[MAX_MOB_DB+1]; -struct mob_db *mob_db(int index); -extern struct mob_db *mob_dummy; - struct mob_data { struct block_list bl; struct unit_data ud; |