added SetGlobalTarget() calls to anything that uses Format()

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401017
This commit is contained in:
David Anderson
2007-06-24 19:40:25 +00:00
parent 5271043e92
commit 2f3e46f8f8
7 changed files with 27 additions and 0 deletions
+2
View File
@@ -963,6 +963,8 @@ static cell_t KickClient(IPluginContext *pContext, const cell_t *params)
INetChannel *pNetChan = static_cast<INetChannel *>(engine->GetPlayerNetInfo(client));
IClient *pClient = static_cast<IClient *>(pNetChan->GetMsgHandler());
g_SourceMod.SetGlobalTarget(client);
char buffer[256];
g_SourceMod.FormatString(buffer, sizeof(buffer), pContext, params, 2);