Skip to content

Commit

Permalink
Allow bots to climb in some places
Browse files Browse the repository at this point in the history
  • Loading branch information
TomyLobo committed May 10, 2016
1 parent 16065e4 commit 945b546
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions mp/src/game/server/sdk/bots/sdk_bot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 945b546

Please sign in to comment.