entWatch4: Remove useless if statement.

Cant push buttons anyway unless you 'own' the item.
This commit is contained in:
zaCade 2018-08-10 17:22:44 +02:00
parent c045b829ea
commit 0c7477b315

View File

@ -459,9 +459,6 @@ public Action OnButtonPress(int button, int client)
if (itemArray[item_button] && itemArray[item_button] == button &&
itemArray[item_owned] && itemArray[item_owner] == client)
{
if (g_bIntermission)
return Plugin_Handled;
Action aResult;
Call_StartForward(g_hFwd_OnClientItemCanActivate);
Call_PushArray(itemArray, sizeof(itemArray));