diff --git a/source/src/bot/bot.h b/source/src/bot/bot.h index 7ea4029a..783040e2 100644 --- a/source/src/bot/bot.h +++ b/source/src/bot/bot.h @@ -353,7 +353,7 @@ public: botent *m_pBotToView; // Construction - CBotManager(void) { m_bInit = true; m_fReAddBotDelay = -1.0f; }; + CBotManager(void) { m_bInit = true; m_bBotsShoot = true; m_bIdleBots = false; m_fReAddBotDelay = -1.0f; }; // Destruction ~CBotManager(void); diff --git a/source/src/bot/botmanager.cpp b/source/src/bot/botmanager.cpp index cb43a217..173e95f2 100644 --- a/source/src/bot/botmanager.cpp +++ b/source/src/bot/botmanager.cpp @@ -29,8 +29,6 @@ void CBotManager::Init() { m_pBotToView = NULL; - m_bBotsShoot = true; - m_bIdleBots = false; m_iFrameTime = 0; m_iPrevTime = lastmillis; m_sBotSkill = 1; // Default all bots have the skill 'Good'