fixed amb522

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401041
This commit is contained in:
David Anderson 2007-07-03 20:22:39 +00:00
parent cb77ef5b7d
commit 17ac4f9331

View File

@ -379,6 +379,11 @@ static cell_t CanUserTarget(IPluginContext *pContext, const cell_t *params)
int client = params[1];
int target = params[2];
if (client == 0)
{
return 1;
}
CPlayer *pPlayer = g_Players.GetPlayerByIndex(client);
if (!pPlayer)
{