From cce1a20eb0ed8f13ffc8213a54c7413ad6b21f4a Mon Sep 17 00:00:00 2001 From: Dragon Slayer <85514184+DragonSlayer62@users.noreply.github.com> Date: Wed, 15 Jan 2025 21:38:39 -0600 Subject: [PATCH] Update cItem.cpp --- source/cItem.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/source/cItem.cpp b/source/cItem.cpp index 8e3a1f252..99915be2b 100644 --- a/source/cItem.cpp +++ b/source/cItem.cpp @@ -171,10 +171,7 @@ SI16 CItem::GetDurabilityHpBonus(void) const void CItem::SetDurabilityHpBonus(SI16 newValue) { durabilityHpBonus = newValue; - if (CanBeObjType(OT_ITEM)) - { - (static_cast(this))->UpdateRegion(); - } + UpdateRegion(); } //o------------------------------------------------------------------------------------------------o