summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-22 07:50:47 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-22 07:50:47 +0000
commit92914aa986612af6618a1749e0473fbe27470091 (patch)
treed01ff4484df93c26befe0b3100c0f5678170d46b /src/map/pc.c
parent580860e1ded37cde82bc087cf63e4dd16d00b737 (diff)
downloadhercules-92914aa986612af6618a1749e0473fbe27470091.tar.gz
hercules-92914aa986612af6618a1749e0473fbe27470091.tar.bz2
hercules-92914aa986612af6618a1749e0473fbe27470091.tar.xz
hercules-92914aa986612af6618a1749e0473fbe27470091.zip
- Removed some pc_equipitem code that was added earlier today that wasn't really needed.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7824 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 6191012ba..e56e84ce3 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -6192,11 +6192,6 @@ int pc_equipitem(struct map_session_data *sd,int n,int req_pos)
pos = req_pos&EQP_ACC;
if (pos == EQP_ACC) //User specified both slots..
pos = sd->equip_index[EQI_ACC_L] >= 0 ? EQP_ACC_R : EQP_ACC_L;
- if (pos == EQP_ACC_L &&
- sd->equip_index[EQI_ACC_L] >= 0 &&
- sd->equip_index[EQI_ACC_R] < 0
- ) //Requesting to reequip on left when right is available?
- pos = EQP_ACC_R;
}
if(pos == EQP_WEAPON && id->equip == EQP_HAND_R &&
@@ -6206,11 +6201,6 @@ int pc_equipitem(struct map_session_data *sd,int n,int req_pos)
pos = (req_pos&EQP_WEAPON);
if (pos == EQP_WEAPON) //User specified both slots, pick one for them.
pos = sd->equip_index[EQI_HAND_R] >= 0 ? EQP_HAND_L : EQP_HAND_R;
- if (pos == EQP_HAND_R &&
- sd->equip_index[EQI_HAND_R] >= 0 &&
- sd->equip_index[EQI_HAND_L] < 0
- ) //Requesting to reequip on right when left is available?
- pos = EQP_HAND_L;
}
if (pos&EQP_HAND_R && battle_config.use_weapon_skill_range)