extensions/tf2/natives.cpp
changeset 3555 6bdae240dfbd
parent 3318 42eee749059b
child 3606 e75ddff9d0b9
     1.1 --- a/extensions/tf2/natives.cpp	Sat Jun 09 20:02:08 2012 -0400
     1.2 +++ b/extensions/tf2/natives.cpp	Wed Jun 13 10:07:02 2012 +0100
     1.3 @@ -175,7 +175,7 @@
     1.4  	// Compatibility fix for the newly-added target parameter
     1.5  	if (params[0] >= 4 && params[4] > 0 && !(pTarget = UTIL_GetCBaseEntity(params[4], true)))
     1.6  	{
     1.7 -		return pContext->ThrowNativeError("Target client index %d is not valid", params[1]);
     1.8 +		return pContext->ThrowNativeError("Target client index %d is not valid", params[4]);
     1.9  	}
    1.10  
    1.11  	unsigned char vstk[sizeof(void *) + 2*sizeof(int) + sizeof(bool)];