summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-25 11:13:27 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-25 11:13:27 +0000
commit3b580431e8bd0adec1c8fa87abbc2e3c75f3faca (patch)
tree51a141bdf214ba7c7e1ba96ee391c9d69d33e5ac /src/map/pc.c
parentc60a65af0a205559f378c287b9f4fd12698fb0f1 (diff)
downloadhercules-3b580431e8bd0adec1c8fa87abbc2e3c75f3faca.tar.gz
hercules-3b580431e8bd0adec1c8fa87abbc2e3c75f3faca.tar.bz2
hercules-3b580431e8bd0adec1c8fa87abbc2e3c75f3faca.tar.xz
hercules-3b580431e8bd0adec1c8fa87abbc2e3c75f3faca.zip
Follow up r15267, changed to standard
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15268 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 0c286f29e..1110aba09 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -7354,8 +7354,6 @@ int pc_equipitem(struct map_session_data *sd,int n,int req_pos)
sd->weapontype1 = 0;
pc_calcweapontype(sd);
clif_changelook(&sd->bl,LOOK_WEAPON,sd->status.weapon);
- if( sd->status.weapon == W_KATAR )
- clif_updatestatus(sd,SP_CRITICAL);
}
if(pos & EQP_HAND_L) {
if(id) {
@@ -7497,12 +7495,9 @@ int pc_unequipitem(struct map_session_data *sd,int n,int flag)
clif_changelook(&sd->bl,LOOK_WEAPON,sd->status.weapon);
}
if(sd->status.inventory[n].equip & EQP_HAND_L) {
- bool kt_flag = ( sd->status.weapon == W_KATAR );
sd->status.shield = sd->weapontype2 = 0;
pc_calcweapontype(sd);
clif_changelook(&sd->bl,LOOK_SHIELD,sd->status.shield);
- if( kt_flag )
- clif_updatestatus(sd,SP_CRITICAL);
}
if(sd->status.inventory[n].equip & EQP_HEAD_LOW && pc_checkequip(sd,EQP_COSTUME_HEAD_LOW) == -1 ) {
sd->status.head_bottom = 0;