fixed GetClientEyeAngles() again

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401618
This commit is contained in:
David Anderson 2007-10-19 09:03:34 +00:00
parent c2644b2f94
commit 98e921c210
2 changed files with 2 additions and 2 deletions

View File

@ -605,7 +605,7 @@ static cell_t GetClientEyeAngles(IPluginContext *pContext, const cell_t *params)
QAngle angles;
bool got_angles = false;
if (pEntity == NULL)
if (pEntity != NULL)
{
got_angles = GetEyeAngles(pEntity, &angles);
}

View File

@ -213,7 +213,7 @@ native bool:DispatchKeyValueVector(entity, const String:keyName[], const Float:v
* @return Entity index being aimed at.
* -1 if no entity is being aimed at.
* -2 if the function is not supported.
* @error Invalid client index.
* @error Invalid client index or client not in game.
*/
native GetClientAimTarget(client, bool:only_clients=true);