fix: crash bug introduced in pr #707
bot: do not apply bullet spread if in hardcore mode
This commit is contained in:
parent
286e1c8621
commit
e37cbb89a5
2 changed files with 2 additions and 2 deletions
|
|
@ -1124,7 +1124,7 @@ void Bot::selectWeapons (float distance, int, int id, int choosen) {
|
|||
else if (isShieldDrawn ()
|
||||
|| m_isReloading
|
||||
|| (hasEnemy && (m_enemy->v.button & IN_RELOAD))
|
||||
|| (!hasEnemy && !seesEntity (m_enemy->v.origin))) {
|
||||
|| (hasEnemy && !seesEntity (m_enemy->v.origin))) {
|
||||
|
||||
pev->button |= IN_ATTACK2; // draw out the shield
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue