Update extension.cpp
This commit is contained in:
parent
7c92f9e5ba
commit
227f3a6c05
@ -158,7 +158,7 @@ DETOUR_DECL_STATIC6(Detour_SendTo, int, int, s, char *, buf, int, len, int, flag
|
|||||||
|
|
||||||
if (pPlayer != NULL && pPlayer->IsConnected() && pPlayer->IsInGame() && !pPlayer->IsSourceTV())
|
if (pPlayer != NULL && pPlayer->IsConnected() && pPlayer->IsInGame() && !pPlayer->IsSourceTV())
|
||||||
{
|
{
|
||||||
memcpy(PlayerList[iPlayers].Name, pPlayer->GetName(), len);
|
memcpy(PlayerList[iPlayers].Name, pPlayer->GetName(), 32);
|
||||||
|
|
||||||
IPlayerInfo *pInfo = pPlayer->GetPlayerInfo();
|
IPlayerInfo *pInfo = pPlayer->GetPlayerInfo();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user