diff --git a/inc/engine.h b/inc/engine.h index a174514..b6478a0 100644 --- a/inc/engine.h +++ b/inc/engine.h @@ -38,7 +38,7 @@ CR_DECLARE_SCOPED_ENUM (GameFlags, ConditionZero = cr::bit (2), // counter-strike: condition zero Legacy = cr::bit (3), // counter-strike 1.3-1.5 with/without steam Mobility = cr::bit (4), // additional flag that bot is running on android (additional flag) - CSBot = cr::bit (5), // additional flag that indicates official cs bots are in game + Unused = cr::bit (5), // not used currently Metamod = cr::bit (6), // game running under meta\mod CSDM = cr::bit (7), // csdm mod currently in use FreeForAll = cr::bit (8), // csdm mod with ffa mode diff --git a/src/engine.cpp b/src/engine.cpp index f98d5c3..0aca91f 100644 --- a/src/engine.cpp +++ b/src/engine.cpp @@ -43,11 +43,6 @@ void Game::precache () { m_engineWrap.precacheSound ("common/wpn_hudon.wav"); // path add/delete done m_mapFlags = 0; // reset map type as worldspawn is the first entity spawned - - // detect official csbots here - if (!(is (GameFlags::Legacy)) && engfuncs.pfnCVarGetPointer ("bot_stop") != nullptr) { - m_gameFlags |= GameFlags::CSBot; - } registerCvars (true); }