entWatch: Re-add triggerid's and dont erase item on weapon death.
This commit is contained in:
parent
60df40fb2d
commit
1308208f1a
@ -9,7 +9,7 @@
|
||||
"filter" ""
|
||||
"weaponid" "2384422"
|
||||
"buttonid" "2384433"
|
||||
"triggerid" "0"
|
||||
"triggerid" "4042883"
|
||||
"display" "5"
|
||||
"mode" "0"
|
||||
"maxuses" "0"
|
||||
@ -23,7 +23,7 @@
|
||||
"filter" ""
|
||||
"weaponid" "2347448"
|
||||
"buttonid" "0"
|
||||
"triggerid" "0"
|
||||
"triggerid" "4042880"
|
||||
"display" "5"
|
||||
"mode" "0"
|
||||
"maxuses" "0"
|
||||
@ -37,7 +37,7 @@
|
||||
"filter" ""
|
||||
"weaponid" "2347138"
|
||||
"buttonid" "0"
|
||||
"triggerid" "0"
|
||||
"triggerid" "4042877"
|
||||
"display" "5"
|
||||
"mode" "0"
|
||||
"maxuses" "0"
|
||||
@ -51,7 +51,7 @@
|
||||
"filter" ""
|
||||
"weaponid" "2347177"
|
||||
"buttonid" "0"
|
||||
"triggerid" "0"
|
||||
"triggerid" "4042877"
|
||||
"display" "5"
|
||||
"mode" "0"
|
||||
"maxuses" "0"
|
||||
@ -65,7 +65,7 @@
|
||||
"filter" ""
|
||||
"weaponid" "5349903"
|
||||
"buttonid" "0"
|
||||
"triggerid" "0"
|
||||
"triggerid" "5310773"
|
||||
"display" "5"
|
||||
"mode" "0"
|
||||
"maxuses" "0"
|
||||
@ -79,7 +79,7 @@
|
||||
"filter" ""
|
||||
"weaponid" "1397716"
|
||||
"buttonid" "0"
|
||||
"triggerid" "0"
|
||||
"triggerid" "4042874"
|
||||
"display" "5"
|
||||
"mode" "0"
|
||||
"maxuses" "0"
|
||||
@ -93,7 +93,7 @@
|
||||
"filter" ""
|
||||
"weaponid" "6082283"
|
||||
"buttonid" "0"
|
||||
"triggerid" "0"
|
||||
"triggerid" "4042868"
|
||||
"display" "5"
|
||||
"mode" "0"
|
||||
"maxuses" "0"
|
||||
@ -107,7 +107,7 @@
|
||||
"filter" ""
|
||||
"weaponid" "6082267"
|
||||
"buttonid" "0"
|
||||
"triggerid" "0"
|
||||
"triggerid" "4042868"
|
||||
"display" "5"
|
||||
"mode" "0"
|
||||
"maxuses" "0"
|
||||
@ -121,7 +121,7 @@
|
||||
"filter" ""
|
||||
"weaponid" "1397990"
|
||||
"buttonid" "0"
|
||||
"triggerid" "0"
|
||||
"triggerid" "4042865"
|
||||
"display" "0"
|
||||
"mode" "0"
|
||||
"maxuses" "0"
|
||||
@ -135,7 +135,7 @@
|
||||
"filter" ""
|
||||
"weaponid" "1398014"
|
||||
"buttonid" "0"
|
||||
"triggerid" "0"
|
||||
"triggerid" "4042865"
|
||||
"display" "0"
|
||||
"mode" "0"
|
||||
"maxuses" "0"
|
||||
@ -150,7 +150,7 @@
|
||||
"weaponid" "1398000"
|
||||
"buttonid" "0"
|
||||
"triggerid" "0"
|
||||
"display" "0"
|
||||
"display" "4042865"
|
||||
"mode" "0"
|
||||
"maxuses" "0"
|
||||
"cooldown" "0"
|
||||
@ -163,7 +163,7 @@
|
||||
"filter" ""
|
||||
"weaponid" "1398006"
|
||||
"buttonid" "0"
|
||||
"triggerid" "0"
|
||||
"triggerid" "4042865"
|
||||
"display" "0"
|
||||
"mode" "0"
|
||||
"maxuses" "0"
|
||||
@ -177,7 +177,7 @@
|
||||
"filter" ""
|
||||
"weaponid" "1398012"
|
||||
"buttonid" "0"
|
||||
"triggerid" "0"
|
||||
"triggerid" "4042865"
|
||||
"display" "0"
|
||||
"mode" "0"
|
||||
"maxuses" "0"
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user