summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-12-26 03:36:14 +0000
committerai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-12-26 03:36:14 +0000
commitaacf1a365aced0d8aff2717330a5e72141a5b8b1 (patch)
tree29b4d4d4db4c0921ba7f0bdfee64e30274ae1da4 /src/map
parent81aee595533a171d8b8ba72b17971ec5905cce15 (diff)
downloadhercules-aacf1a365aced0d8aff2717330a5e72141a5b8b1.tar.gz
hercules-aacf1a365aced0d8aff2717330a5e72141a5b8b1.tar.bz2
hercules-aacf1a365aced0d8aff2717330a5e72141a5b8b1.tar.xz
hercules-aacf1a365aced0d8aff2717330a5e72141a5b8b1.zip
* Fixed two-hand weapons not getting recognized as such upon equipping, causing respective one-hand weapon's base ASPD values being used instead (bugreport:4659, related r12599).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14624 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r--src/map/pc.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index b22a365e0..45330f343 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -7125,10 +7125,7 @@ int pc_equipitem(struct map_session_data *sd,int n,int req_pos)
if(id) {
if(id->type == IT_WEAPON) {
sd->status.shield = 0;
- if(sd->status.inventory[n].equip == EQP_HAND_L)
- sd->weapontype2 = id->look;
- else
- sd->weapontype2 = 0;
+ sd->weapontype2 = id->look;
}
else
if(id->type == IT_ARMOR) {