Update extension.cpp

This commit is contained in:
zaCade 2019-05-22 19:23:55 +02:00
parent 7c92f9e5ba
commit 227f3a6c05

View File

@ -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())
{
memcpy(PlayerList[iPlayers].Name, pPlayer->GetName(), len);
memcpy(PlayerList[iPlayers].Name, pPlayer->GetName(), 32);
IPlayerInfo *pInfo = pPlayer->GetPlayerInfo();