fixed amb190 - serious bug in the target processor
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401650
This commit is contained in:
parent
2cfd5bbaf3
commit
dc746c5806
@ -258,6 +258,11 @@ bool SDKTools::LevelInit(char const *pMapName, char const *pMapEntities, char co
|
|||||||
|
|
||||||
bool SDKTools::ProcessCommandTarget(cmd_target_info_t *info)
|
bool SDKTools::ProcessCommandTarget(cmd_target_info_t *info)
|
||||||
{
|
{
|
||||||
|
if (strcmp(info->pattern, "@aim") != 0)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
IGamePlayer *pAdmin = info->admin ? playerhelpers->GetGamePlayer(info->admin) : NULL;
|
IGamePlayer *pAdmin = info->admin ? playerhelpers->GetGamePlayer(info->admin) : NULL;
|
||||||
|
|
||||||
/* The server can't aim, of course. */
|
/* The server can't aim, of course. */
|
||||||
|
Loading…
Reference in New Issue
Block a user