- Corrected a null_po in pet_equip when trying to equip stuff without a pet.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6886 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
@@ -715,7 +715,7 @@ int pet_equipitem(struct map_session_data *sd,int index)
|
||||
|
||||
nullpo_retr(1, sd);
|
||||
pd = sd->pd;
|
||||
nullpo_retr(1, pd);
|
||||
if (!pd) return 1;
|
||||
|
||||
nameid = sd->status.inventory[index].nameid;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user