summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authoreathenabot <eathenabot@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-01-17 07:31:55 +0000
committereathenabot <eathenabot@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-01-17 07:31:55 +0000
commitb3ea1ba3ad4ba4083f5c5bc1138d1cfd73b1679b (patch)
tree2b85d2cd2192914c600439d4203987b0e2655e38 /src/map/pc.c
parent8323d3e84a8869680673afae4f415a621ca0ef69 (diff)
downloadhercules-b3ea1ba3ad4ba4083f5c5bc1138d1cfd73b1679b.tar.gz
hercules-b3ea1ba3ad4ba4083f5c5bc1138d1cfd73b1679b.tar.bz2
hercules-b3ea1ba3ad4ba4083f5c5bc1138d1cfd73b1679b.tar.xz
hercules-b3ea1ba3ad4ba4083f5c5bc1138d1cfd73b1679b.zip
* Merged changes up to eAthena 15066.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15480 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 44e884923..52141c913 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -7447,6 +7447,7 @@ int pc_equipitem(struct map_session_data *sd,int n,int req_pos)
if(battle_config.battle_log)
ShowInfo("equip %d(%d) %x:%x\n",sd->status.inventory[n].nameid,n,id?id->equip:0,req_pos);
if(!pc_isequip(sd,n) || !(pos&req_pos) || sd->status.inventory[n].equip != 0 || sd->status.inventory[n].attribute==1 ) { // [Valaris]
+ // FIXME: pc_isequip: equip level failure uses 2 instead of 0
clif_equipitemack(sd,n,0,0); // fail
return 0;
}