From 845e8fb7a625cffa403120a2a0b36a6a4914a5ea Mon Sep 17 00:00:00 2001 From: TomyLobo Date: Sun, 8 May 2016 11:22:07 +0200 Subject: [PATCH] Allow bots to climb in some places --- mp/src/game/server/sdk/bots/sdk_bot.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mp/src/game/server/sdk/bots/sdk_bot.cpp b/mp/src/game/server/sdk/bots/sdk_bot.cpp index 6871d2ca3..ec9b84f8f 100644 --- a/mp/src/game/server/sdk/bots/sdk_bot.cpp +++ b/mp/src/game/server/sdk/bots/sdk_bot.cpp @@ -278,6 +278,12 @@ void CSDKBot::BotThink() Navigation(cmd); + if (this->m_Shared.IsManteling()) + { + cmd.buttons |= IN_JUMP; + cmd.forwardmove = cmd.sidemove = 0; + } + CheckNavMeshAttrib(&tr_front, cmd); }