entWatch: Re-add triggerid's and dont erase item on weapon death.
This commit is contained in:
@@ -341,9 +341,8 @@ public void OnEntityDestroyed(int entity)
|
||||
|
||||
if (item.bWeapon && item.iWeapon == entity)
|
||||
{
|
||||
g_hArray_Items.Erase(index);
|
||||
item.iWeapon = INVALID_ENT_REFERENCE;
|
||||
|
||||
delete item;
|
||||
return;
|
||||
}
|
||||
else if (item.bButton && item.iButton == entity)
|
||||
|
||||
Reference in New Issue
Block a user