diff options
author | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-01-23 18:07:00 +0000 |
---|---|---|
committer | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-01-23 18:07:00 +0000 |
commit | 7ea5a23ce04ebf3c48f3dbbb88195427c6445dcb (patch) | |
tree | 3c5ce05b49036d80d34885f20710619e9cf8be6e /src/map/itemdb.h | |
parent | 76d8576482fc19f6baea315397ff4422eda3cb59 (diff) | |
download | hercules-7ea5a23ce04ebf3c48f3dbbb88195427c6445dcb.tar.gz hercules-7ea5a23ce04ebf3c48f3dbbb88195427c6445dcb.tar.bz2 hercules-7ea5a23ce04ebf3c48f3dbbb88195427c6445dcb.tar.xz hercules-7ea5a23ce04ebf3c48f3dbbb88195427c6445dcb.zip |
* Some cleaning here and there.
- Fixed a typo in basejob_baseclass_upper sample script (since r3893).
- Fixed (for sake of consistency) usage of 'sd' before corresponding nullpo check in party_invite (bugreport:2752).
- Fixed atcommand config reading would not cap level for charcommands, when using atcommand level as fallback (bugreport:2961, since r13409).
- Removed orphaned clif_mob_hp declaration from clif.h (bugreport:2788, since r2092).
- Removed unnecessary look-up in itemdb_available macro, as dummy_item is considered unavailable.
- Removed leftover shortlist linked-list struct (followup to r10507).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14680 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/itemdb.h')
-rw-r--r-- | src/map/itemdb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/itemdb.h b/src/map/itemdb.h index 3fb14b2d4..b5bcb84ea 100644 --- a/src/map/itemdb.h +++ b/src/map/itemdb.h @@ -103,7 +103,7 @@ struct item_data* itemdb_exists(int nameid); #define itemdb_wlv(n) itemdb_search(n)->wlv #define itemdb_range(n) itemdb_search(n)->range #define itemdb_slot(n) itemdb_search(n)->slot -#define itemdb_available(n) (itemdb_exists(n) && itemdb_search(n)->flag.available) +#define itemdb_available(n) (itemdb_search(n)->flag.available) #define itemdb_viewid(n) (itemdb_search(n)->view_id) #define itemdb_autoequip(n) (itemdb_search(n)->flag.autoequip) const char* itemdb_typename(int type); |