mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +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++;
|
||||
}
|
||||
|
||||
OBJECTTYPE pObjTmp;
|
||||
static OBJECTTYPE pObjTmp;
|
||||
pObjTmp.initialize();
|
||||
|
||||
if( bestStack->RemoveObjectAtIndex(leastDamagedIndex, &pObjTmp) ){
|
||||
|
||||
Reference in New Issue
Block a user