diff --git a/Source/items.cpp b/Source/items.cpp index 11e2df886900..231fdf335da0 100644 --- a/Source/items.cpp +++ b/Source/items.cpp @@ -831,7 +831,7 @@ int SaveItemPower(const Player &player, Item &item, ItemPower &power) RedrawComponent(PanelDrawComponent::Mana); break; case IPL_DUR: { - int bonus = r * item._iMaxDur / 100; + int bonus = clamp(r * item._iMaxDur / 100, 0, DUR_INDESTRUCTIBLE - item._iMaxDur); item._iMaxDur += bonus; item._iDurability += bonus; } break;