From edf8f2f0864c185df4046cad599ecd356c78df0b Mon Sep 17 00:00:00 2001 From: Asdow <20314541+Asdow@users.noreply.github.com> Date: Wed, 6 May 2026 23:21:32 +0300 Subject: [PATCH] Fix crash when failing an attachment via item desc popup callback --- Tactical/Interface Items.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tactical/Interface Items.cpp b/Tactical/Interface Items.cpp index 532c288a..0ea59081 100644 --- a/Tactical/Interface Items.cpp +++ b/Tactical/Interface Items.cpp @@ -643,7 +643,7 @@ void popupCallbackItem(INT16 itemId){ i++;p++; } - OBJECTTYPE pObjTmp; + static OBJECTTYPE pObjTmp; pObjTmp.initialize(); if( bestStack->RemoveObjectAtIndex(leastDamagedIndex, &pObjTmp) ){