From aacf1a365aced0d8aff2717330a5e72141a5b8b1 Mon Sep 17 00:00:00 2001 From: ai4rei Date: Sun, 26 Dec 2010 03:36:14 +0000 Subject: * 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 --- src/map/pc.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src') 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) { -- cgit v1.2.3-60-g2f50