minor optimization
This commit is contained in:
parent
9a24d371f7
commit
97db73cdaa
1 changed files with 1 additions and 1 deletions
|
|
@ -4821,7 +4821,7 @@ void Bot::BotAI (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
// if bomb planted warn teammates !
|
// if bomb planted warn teammates !
|
||||||
if (g_canSayBombPlanted && g_bombPlanted && engine.GetTeam (GetEntity ()) == CT)
|
if (g_canSayBombPlanted && g_bombPlanted && m_team == CT)
|
||||||
{
|
{
|
||||||
g_canSayBombPlanted = false;
|
g_canSayBombPlanted = false;
|
||||||
ChatterMessage (Chatter_GottaFindTheBomb);
|
ChatterMessage (Chatter_GottaFindTheBomb);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue