mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2025-01-27 05:58:00 +03:00
Fix Host_Say: crash on cs 1.6 with dependencies from Czero
This commit is contained in:
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user