Revert "entWatch4: Drop Ammo aswell, when force drops happen."

This reverts commit b09777159a.
This commit is contained in:
zaCade
2019-04-25 18:04:17 +02:00
parent b09777159a
commit 9a199c8efa
3 changed files with 3 additions and 27 deletions
+2 -2
View File
@@ -420,7 +420,7 @@ public void OnClientDisconnect(int client)
{
if (item.bWeapon && !(item.dConfig.iSlot == SLOT_NONE || item.dConfig.iSlot == SLOT_KNIFE))
{
Client_DropWeapon(item.iClient, item.iWeapon);
SDKHooks_DropWeapon(item.iClient, item.iWeapon, NULL_VECTOR, NULL_VECTOR);
}
item.iClient = INVALID_ENT_REFERENCE;
@@ -451,7 +451,7 @@ public void OnClientDeath(Event hEvent, const char[] sEvent, bool bDontBroadcast
{
if (item.bWeapon && !(item.dConfig.iSlot == SLOT_NONE || item.dConfig.iSlot == SLOT_KNIFE))
{
Client_DropWeapon(item.iClient, item.iWeapon);
SDKHooks_DropWeapon(item.iClient, item.iWeapon, NULL_VECTOR, NULL_VECTOR);
}
item.iClient = INVALID_ENT_REFERENCE;