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

View File

@ -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);