From 8c9e47cc13575bcec759e553242288b67e68b2c8 Mon Sep 17 00:00:00 2001 From: jeefo Date: Sun, 2 Mar 2025 23:20:55 +0300 Subject: [PATCH] bot: always run player movement (else it's bad for mods) --- src/botlib.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/botlib.cpp b/src/botlib.cpp index 351a652..412b572 100644 --- a/src/botlib.cpp +++ b/src/botlib.cpp @@ -2985,11 +2985,7 @@ void Bot::frame () { // run bot command on twice speed if (m_commandDelay.time <= timestamp) { - const bool nonStandardGameMode = game.is (GameFlags::CSDM | GameFlags::FreeForAll | GameFlags::ZombieMod); - - if (m_botMovement || nonStandardGameMode || pev->deadflag == DEAD_DYING) { - runMovement (); - } + runMovement (); m_commandDelay.time = timestamp + m_commandDelay.interval; }