From 38e75d21896a2c577afba7d60deac9ae220a6aa0 Mon Sep 17 00:00:00 2001 From: s1lentq Date: Sat, 12 Dec 2015 19:06:18 +0600 Subject: [PATCH] Fix Host_Say: crash on cs 1.6 with dependencies from Czero --- regamedll/dlls/client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regamedll/dlls/client.cpp b/regamedll/dlls/client.cpp index 7ee539a1..49c85949 100644 --- a/regamedll/dlls/client.cpp +++ b/regamedll/dlls/client.cpp @@ -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);