summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/clif.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index e704d756e..57fd3d5b3 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -9263,8 +9263,10 @@ void clif_parse_EquipItem(int fd,struct map_session_data *sd)
if(sd->inventory_data[index]->type == 10)
RFIFOW(fd,4)=0x8000; // 矢を無理やり装備できるように(−−;
pc_equipitem(sd,index,RFIFOW(fd,4));
- } else
- pet_equipitem(sd,index);
+ } else{
+ if(sd->pd)
+ pet_equipitem(sd,index);
+ }
}
}