From 97db73cdaa7fb06d09c65aaa1b7183108a76df10 Mon Sep 17 00:00:00 2001 From: jeefo Date: Mon, 19 Sep 2016 15:09:09 +0300 Subject: [PATCH] minor optimization --- source/basecode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/basecode.cpp b/source/basecode.cpp index 67eea1c..a506152 100644 --- a/source/basecode.cpp +++ b/source/basecode.cpp @@ -4821,7 +4821,7 @@ void Bot::BotAI (void) } // 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; ChatterMessage (Chatter_GottaFindTheBomb);