diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-23 23:31:55 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-23 23:31:55 +0000 |
commit | 81c7ec2433762f5473ee05ea1620954b24d9789b (patch) | |
tree | 3348f92b604ae4f0ddd2f34375607ec0804a6059 /src/map/itemdb.c | |
parent | af86b0e57fdfa0064770513b868834bf27cb5b56 (diff) | |
download | hercules-81c7ec2433762f5473ee05ea1620954b24d9789b.tar.gz hercules-81c7ec2433762f5473ee05ea1620954b24d9789b.tar.bz2 hercules-81c7ec2433762f5473ee05ea1620954b24d9789b.tar.xz hercules-81c7ec2433762f5473ee05ea1620954b24d9789b.zip |
- Modified pc_setoption so that it will correctly update sprite AND clothes color when mounting/unmounting changing into/from xmas/wedding sprites.
- Allowed itemdb_exists to return the dummy item. Enables "invalid" items to be sold, traded, dropped, etc.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7321 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/itemdb.c')
-rw-r--r-- | src/map/itemdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/itemdb.c b/src/map/itemdb.c index a577b1baa..7651535f1 100644 --- a/src/map/itemdb.c +++ b/src/map/itemdb.c @@ -135,7 +135,7 @@ int itemdb_group (int nameid) struct item_data* itemdb_exists(int nameid)
{
struct item_data* id = idb_get(item_db,nameid);
- if (id == &dummy_item) return NULL;
+// if (id == &dummy_item) return NULL; //Let dummy items go through... technically they "exist" because someone already has them...
return id;
}
|