fixed amb190 - serious bug in the target processor
authorDavid Anderson <dvander@alliedmods.net>
Sun Oct 28 05:06:12 2007 +0000 (2007-10-28)
changeset 16447033022af10d
parent 1643 2ea224c9e9a1
child 1645 27307df4d711
fixed amb190 - serious bug in the target processor
extensions/sdktools/extension.cpp
     1.1 --- a/extensions/sdktools/extension.cpp	Fri Oct 26 20:37:02 2007 +0000
     1.2 +++ b/extensions/sdktools/extension.cpp	Sun Oct 28 05:06:12 2007 +0000
     1.3 @@ -258,6 +258,11 @@
     1.4  
     1.5  bool SDKTools::ProcessCommandTarget(cmd_target_info_t *info)
     1.6  {
     1.7 +	if (strcmp(info->pattern, "@aim") != 0)
     1.8 +	{
     1.9 +		return false;
    1.10 +	}
    1.11 +
    1.12  	IGamePlayer *pAdmin = info->admin ? playerhelpers->GetGamePlayer(info->admin) : NULL;
    1.13  
    1.14  	/* The server can't aim, of course. */