Fixes autobonuses not clearing on unequip
This commit is contained in:
parent
bb8d09dfca
commit
b9aa1344e6
@ -2987,6 +2987,9 @@ void pc_delautobonus(struct map_session_data &sd, std::vector<std::shared_ptr<s_
|
|||||||
// Not all required items equipped anymore
|
// Not all required items equipped anymore
|
||||||
restore = false;
|
restore = false;
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
// Not all required items equipped anymore
|
||||||
|
restore = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if( restore ){
|
if( restore ){
|
||||||
|
|||||||
@ -3686,7 +3686,7 @@ int status_calc_pc_sub(struct map_session_data* sd, uint8 opt)
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Process and check item combos
|
// Process and check item combos
|
||||||
if (!sd->combos.empty()) {
|
if (!sd->combos.empty()) {
|
||||||
for (const auto &combo : sd->combos) {
|
for (const auto &combo : sd->combos) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user