build: add arm64 build to linux release package
add: yb_ignore_objectives, that makes bots to ignore map target (hostage rescue, bomb plant/defuse) (fixes #237) fix: possible buffer overrun in message functions build: cleanup package.py
This commit is contained in:
parent
e0f3317b1a
commit
6e83258c7d
6 changed files with 49 additions and 25 deletions
|
|
@ -1829,6 +1829,11 @@ void BotManager::initRound () {
|
|||
}
|
||||
|
||||
void BotManager::setBombPlanted (bool isPlanted) {
|
||||
if (cv_ignore_objectives.bool_ ()) {
|
||||
m_bombPlanted = false;
|
||||
return;
|
||||
}
|
||||
|
||||
if (isPlanted) {
|
||||
m_timeBombPlanted = game.time ();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue