summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authoramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-13 06:05:37 +0000
committeramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-13 06:05:37 +0000
commit50c1b03b8979ac793375b26867053f43e4983dc9 (patch)
tree9338d18d6af889c09a68095b558d3040b83182db /src/map/pc.c
parent11edd9bd6b905e1da203d49f0646cd9502536f1f (diff)
downloadhercules-50c1b03b8979ac793375b26867053f43e4983dc9.tar.gz
hercules-50c1b03b8979ac793375b26867053f43e4983dc9.tar.bz2
hercules-50c1b03b8979ac793375b26867053f43e4983dc9.tar.xz
hercules-50c1b03b8979ac793375b26867053f43e4983dc9.zip
update
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@550 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 537aa91b8..6b4e4d7a6 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -6762,7 +6762,7 @@ int pc_equipitem(struct map_session_data *sd,int n,int pos)
clif_changelook(&sd->bl,LOOK_SHOES,0);
pc_checkallowskill(sd); // ?備品でスキルか解除されるかチェック
- if (itemdb_look(sd->status.inventory[n].nameid) == 11 && arrow){ // Added by RoVeRT
+ if (itemdb_look(sd->status.inventory[n].nameid) == 11 && (arrow >= 0)){ // Added by RoVeRT
clif_arrowequip(sd,arrow);
sd->status.inventory[arrow].equip=32768;
}