mirror of
https://github.com/1dot13/source.git
synced 2026-09-16 14:47:17 +02:00
Fix crash when failing an attachment via item desc popup callback
This commit is contained in:
@@ -643,7 +643,7 @@ void popupCallbackItem(INT16 itemId){
|
|||||||
i++;p++;
|
i++;p++;
|
||||||
}
|
}
|
||||||
|
|
||||||
OBJECTTYPE pObjTmp;
|
static OBJECTTYPE pObjTmp;
|
||||||
pObjTmp.initialize();
|
pObjTmp.initialize();
|
||||||
|
|
||||||
if( bestStack->RemoveObjectAtIndex(leastDamagedIndex, &pObjTmp) ){
|
if( bestStack->RemoveObjectAtIndex(leastDamagedIndex, &pObjTmp) ){
|
||||||
|
|||||||
Reference in New Issue
Block a user