Turned pet db into a dynamic map (#2727)
Thanks to @Jeybla, @lighta and @aleos89
This commit is contained in:
@@ -1517,7 +1517,7 @@ int map_clearflooritem_timer(int tid, unsigned int tick, int id, intptr_t data)
|
||||
}
|
||||
|
||||
|
||||
if (search_petDB_index(fitem->item.nameid, PET_EGG) >= 0)
|
||||
if (pet_db_search(fitem->item.nameid, PET_EGG))
|
||||
intif_delete_petdata(MakeDWord(fitem->item.card[1], fitem->item.card[2]));
|
||||
|
||||
clif_clearflooritem(fitem, 0);
|
||||
|
||||
Reference in New Issue
Block a user