summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-26 15:56:19 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-31 23:07:45 +0300
commit0a9cee0a94185f9fabd8fd615139836a64d369f2 (patch)
tree6d951e360bd4d905f097a99e3e3d99351a61d386
parent01831ca6fe214679120c8ffc1e65966ae5521210 (diff)
downloadhercules-0a9cee0a94185f9fabd8fd615139836a64d369f2.tar.gz
hercules-0a9cee0a94185f9fabd8fd615139836a64d369f2.tar.bz2
hercules-0a9cee0a94185f9fabd8fd615139836a64d369f2.tar.xz
hercules-0a9cee0a94185f9fabd8fd615139836a64d369f2.zip
Fix wrong formatting
-rw-r--r--src/map/status.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 89e263412..c0611f97b 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -7153,7 +7153,8 @@ int status_change_start(struct block_list *src, struct block_list *bl, enum sc_t
i = sd->equip_index[EQI_ACC_L];
if( i >= 0 && sd->inventory_data[i] && sd->inventory_data[i]->type == IT_ARMOR )
pc->unequipitem(sd,i,3); //L-Accessory
- } if( !(sd->bonus.unstripable_equip&EQP_ACC_R) ) {
+ }
+ if( !(sd->bonus.unstripable_equip&EQP_ACC_R) ) {
i = sd->equip_index[EQI_ACC_R];
if( i >= 0 && sd->inventory_data[i] && sd->inventory_data[i]->type == IT_ARMOR )
pc->unequipitem(sd,i,3); //R-Accessory