Compare commits
1 Commits
master
...
hotfix/wea
Author | SHA1 | Date | |
---|---|---|---|
![]() |
60cff8aa0c |
@ -11720,8 +11720,6 @@ static void pc_unequipitem_sub(struct map_session_data *sd, int n, int flag) {
|
|||||||
pc_deleteautobonus( sd->autobonus3, sd->inventory.u.items_inventory[n].equip );
|
pc_deleteautobonus( sd->autobonus3, sd->inventory.u.items_inventory[n].equip );
|
||||||
|
|
||||||
sd->inventory.u.items_inventory[n].equip = 0;
|
sd->inventory.u.items_inventory[n].equip = 0;
|
||||||
if (!(flag & 4))
|
|
||||||
pc_checkallowskill(sd);
|
|
||||||
iflag = sd->npc_item_flag;
|
iflag = sd->npc_item_flag;
|
||||||
|
|
||||||
// Check for combos (MUST be before status_calc_pc)
|
// Check for combos (MUST be before status_calc_pc)
|
||||||
@ -11751,7 +11749,8 @@ static void pc_unequipitem_sub(struct map_session_data *sd, int n, int flag) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (flag & 1 || status_calc) {
|
if (flag & 1 || status_calc) {
|
||||||
pc_checkallowskill(sd);
|
if (!(flag & 4))
|
||||||
|
pc_checkallowskill(sd);
|
||||||
status_calc_pc(sd, SCO_FORCE);
|
status_calc_pc(sd, SCO_FORCE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user