2
0
mirror of https://github.com/s1lentq/ReGameDLL_CS.git synced 2025-07-05 17:05:03 +03:00

Fix Host_Say: crash on cs 1.6 with dependencies from Czero

This commit is contained in:
s1lentq 2015-12-12 19:06:18 +06:00
parent bdc3b63261
commit 38e75d2189

@ -702,7 +702,7 @@ void Host_Say(edict_t *pEntity, int teamonly)
if (teamonly)
{
if (player->m_iTeam == CT || player->m_iTeam == TERRORIST)
if (UTIL_IsGame("czero") && (player->m_iTeam == CT || player->m_iTeam == TERRORIST))
{
// search the place name where is located the player
Place playerPlace = TheNavAreaGrid.GetPlace(&player->pev->origin);