core/smn_halflife.cpp
changeset 892 0702fda305f0
parent 891 30343d215489
child 893 a3bc816549a8
     1.1 --- a/core/smn_halflife.cpp	Wed Jun 06 20:42:46 2007 +0000
     1.2 +++ b/core/smn_halflife.cpp	Wed Jun 06 20:51:17 2007 +0000
     1.3 @@ -290,12 +290,12 @@
     1.4  
     1.5  	if (!pPlayer)
     1.6  	{
     1.7 -		return pContext->ThrowNativeError("Client %d is not valid", params[1]);
     1.8 +		return pContext->ThrowNativeError("Client %d is not valid", client);
     1.9  	}
    1.10  
    1.11  	if (!pPlayer->IsInGame())
    1.12  	{
    1.13 -		return pContext->ThrowNativeError("Client %d is not in game", params[1]);
    1.14 +		return pContext->ThrowNativeError("Client %d is not in game", client);
    1.15  	}
    1.16  
    1.17  	char buffer[256];
    1.18 @@ -313,12 +313,12 @@
    1.19  
    1.20  	if (!pPlayer)
    1.21  	{
    1.22 -		return pContext->ThrowNativeError("Client %d is not valid", params[1]);
    1.23 +		return pContext->ThrowNativeError("Client %d is not valid", client);
    1.24  	}
    1.25  
    1.26  	if (!pPlayer->IsInGame())
    1.27  	{
    1.28 -		return pContext->ThrowNativeError("Client %d is not in game", params[1]);
    1.29 +		return pContext->ThrowNativeError("Client %d is not in game", client);
    1.30  	}
    1.31  
    1.32  	char buffer[256];